Re: [PATCH 1/3] git-branch: add --track and --no-track options

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Monday, March 5, 2007 - 11:37 am

Hi,

On Mon, 5 Mar 2007, Paolo Bonzini wrote:


So, if you want to be that precise, it never says that it does not touch 
the pointers passed to it. But it states very clearly what the return 
value is in case of a failure.


Yes, this is what the source does. But again, the return value is what you 
should -- and indeed forever can -- rely on. I am not really happy that 
dwim_ref() touches ref, even if nothing was found, but it is an 
_implementation detail_.


Nah. You are not fair.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 7:50 am)
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 8:58 am)
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 9:09 am)
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 10:16 am)
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 11:37 am)
Re: [PATCH 1/3] git-branch: add --track and --no-track options, Johannes Schindelin, (Mon Mar 5, 4:09 pm)