Re: [PATCH 1/6] reflog-walk: skip over double-null oid due to HEAD rename

2017-07-05 Thread Jeff King
On Wed, Jul 05, 2017 at 10:34:03AM -0700, Junio C Hamano wrote: > > + if (!logobj) > > + logobj = parse_object(&reflog->ooid); > > } > > For the current 'maint', this would need to be backported to the > uchar[20] interface (which is trivial to do, and merging it u

Re: [PATCH 1/6] reflog-walk: skip over double-null oid due to HEAD rename

2017-07-05 Thread Junio C Hamano
Jeff King writes: > Since 39ee4c6c2f (branch: record creation of renamed branch > in HEAD's log, 2017-02-20), a rename on the currently > checked out branch will create two entries in the HEAD > reflog: one where the branch goes away (switching to the > null oid), and one where it comes back (swi

[PATCH 1/6] reflog-walk: skip over double-null oid due to HEAD rename

2017-07-05 Thread Jeff King
Since 39ee4c6c2f (branch: record creation of renamed branch in HEAD's log, 2017-02-20), a rename on the currently checked out branch will create two entries in the HEAD reflog: one where the branch goes away (switching to the null oid), and one where it comes back (switching away from the null oid)