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

Re: reflog weirdness

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 28, 2007, 21:20 UTC
Message-ID
<7vhci2ectr.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<87ve6iegny.fsf@ambire.localdomain>
Thien-Thi Nguyen <ttn@gnuvola.org> writes:
> i'd like to get rid of (or somehow get git to hide) the {21} line.
> any hints?
$ vi .git/logs/HEAD

and truncate that line after "commit: " to remove the part that would normally show the one-line commit log message.

It would be more interesting to know why garbage follows "commit: " on that one entry, though. How does commit 20d9d23 look like (the tracked contents are not interesting --- the commit log message is)?

Previous: Thien-Thi NguyenNext: Thien-Thi Nguyen
Message 2 of 7 in “reflog weirdness”
  1. Thien-Thi NguyenDec 28, 2007
  2. Junio C HamanoDec 28, 2007
  3. Thien-Thi NguyenDec 28, 2007
  4. Junio C HamanoDec 28, 2007
  5. Thien-Thi NguyenDec 28, 2007
  6. Junio C HamanoDec 29, 2007
  7. Thien-Thi NguyenJan 2, 2008

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.