Re: [PATCH] honor GIT_REFLOG_ACTION in git-commit
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 20, 2007, 02:22 UTC
- Message-ID
- <7vvej2a14h.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20070120021557.GB11073@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 7 quoted lines
> Junio C Hamano <junkio@cox.net> wrote: >> This allows git-cherry-pick and git-revert to properly identify >> themselves in the resulting reflog entries. Earlier they were >> recorded as what git-commit has done. > > Not sure how I missed that one when I introduced GIT_REFLOG_ACTION, > but thanks for finding and fixing it. :-)
The fact that it went unnoticed for this long time shows how we lack proper tools to read the message part of the reflog, although we use @{N} and @{ago} notation every day and some people might even rely on it. I'd like to do something about it, and my earlier "show-branch --reflog" enhancement series (I'll park that in 'next' for now) was my attempt for that goal.
I found this out by accident while working on it.