git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Shawn O. Pearce
Message 3 of 3 in “honor GIT_REFLOG_ACTION in git-commit”
  1. honor GIT_REFLOG_ACTION in git-commitJunio C Hamano, Jan 20, 2007
  2. Shawn O. PearceJan 20, 2007
  3. Junio C HamanoJan 20, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.