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

'git log --source' seems to fail to show ref name after the first tag comes out.

From
RRaymundo <gypark@gmail.com>
Date
Nov 25, 2015, 10:29 UTC
Message-ID
<CAAe7MbAwWHXxVOu-CU7QpN0K3XTKJ1=xp4-dzSwBQatdAZ1vaQ@mail.gmail.com>
Hello,
At first, I'm sorry I'm not good at English.
When I execute this command:
git log --oneline --source --all --decorate

I get the output below: (I replaced commit messages written in Korean with "COMMIT MSG")

295c670 refs/heads/gyparkwiki_base (gyparkwiki_base) COMMIT MSG c130d61 refs/heads/master (HEAD -> master, origin/master, origin/HEAD) version 2.27a 6f6f40c refs/heads/gyparkwiki (gyparkwiki) COMMIT MSG ... a37772f refs/heads/gyparkwiki COMMIT MSG afeaa51 refs/heads/gyparkwiki COMMIT MSG af2676e (tag: last_CVS_utf) COMMIT MSG <- ref name is not shown from this line b4d27c9 COMMIT MSG 4f834f8 COMMIT MSG ... 7534d49 COMMIT MSG e5c8a6c *** empty log message *** 596aa3e refs/tags/urlprefix (tag: urlprefix) COMMIT MSG <- ref name appears again from this line 8fc4de3 refs/tags/urlprefix COMMIT MSG ... a0b587 refs/tags/urlprefix COMMIT MSG f8526f9 refs/tags/urlprefix COMMIT MSG 277478b (tag: last_CVS_testwiki) COMMIT MSG <- ref name disappear again from this line 65919c8 *** empty log message *** ...

As you can see, ref names in the second column repeats to disappear and come back, at every lines that contain tags.

I tested using Git version 2.6.3

For reference, Git version 1.7.9.rc0 does not have this problem. It shows ref names on all lines well.

Maybe is this a bug?

Thank you. G.Y.Park from South Korea

Next: Jeff King
Message 1 of 3 in “'git log --source' seems to fail to show ref name after the first tag comes out.”
  1. RaymundoNov 25, 2015
  2. Jeff KingNov 25, 2015
  3. RaymundoNov 25, 2015

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.