Re: [BUG] Incosistent repository state when trying to rename HEAD in the middle of a rebase

2017-11-03 Thread Kaartic Sivaraam
On Thursday 02 November 2017 01:21 PM, Junio C Hamano wrote: Kaartic Sivaraam writes: I was able to spare some time to dig into this and found a few things. First, it seems that the issue is more generic and the BUG kicks in whenever HEAD is not a symbolic

Re: [BUG] Incosistent repository state when trying to rename HEAD in the middle of a rebase

2017-11-02 Thread Junio C Hamano
Kaartic Sivaraam writes: > I was able to spare some time to dig into this and found a few things. > > First, it seems that the issue is more generic and the BUG kicks in > whenever HEAD is not a symbolic ref. Interesting. Shortly we'll be rewinding the tip of

Re: [BUG] Incosistent repository state when trying to rename HEAD in the middle of a rebase

2017-11-01 Thread Kaartic Sivaraam
I was able to spare some time to dig into this and found a few things. First, it seems that the issue is more generic and the BUG kicks in whenever HEAD is not a symbolic ref. I noticed that because when HEAD is a symbolic ref there was a change in the error message shown by git. In (2.11.0) I

[BUG] Incosistent repository state when trying to rename HEAD in the middle of a rebase

2017-10-28 Thread Kaartic Sivaraam
I just noticed this recently while trying to see if a recent change [1] that disallowed the possibility of creating HEAD also allowed renaming branches named "HEAD" that were created using previous versions that allowed it. Unfortunately (or fortunately (?)), I was in the middle of an interactive