Re: [PATCH v8 38/44] refs.c: pack all refs before we start to rename a ref
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- May 22, 2014, 17:51 UTC
- Message-ID
- <20140522175153.GQ12314@google.com>
- In-Reply-To
- <CAL=YDW=vY_09An0encywRoAexAEoQK=SbOe5Dt_FJmsFnwoCrg@mail.gmail.com>
Ronnie Sahlberg wrote:
> On Wed, May 21, 2014 at 4:57 PM, Jonathan Nieder <jrnieder@gmail.com> wrote: >> Ronnie Sahlberg wrote:
Show 6 quoted lines
>>> This means that most loose refs will no longer be present after the rename >> >> Is this to handle the "git branch -m foo/bar foo" case or for some other >> purpose? > > Yes. That is the main reason.
Thanks. Please say so in the log message. Remember that people of the future debugging and trying to figure out how to fix the latest regression without breaking something else and whether to just revert your patch cannot read your mind. ;-)
Hope that helps, Jonathan