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

Any objectsions to enhancing git-log to show tags/branch heads?

From
Theodore Ts'o <tytso@mit.edu>
Date
Apr 16, 2007, 12:45 UTC
Message-ID
<E1HdQah-0008Q2-7E@candygram.thunk.org>

I've recently noticed that I'm often firing up gitk for no other purpose than to see which changesets have which tags and branch heads. Often I'll fire up gitk, quickly look at the tags/branches, and then kill it before it's done parsing the repository, resulting in python errors as it dies.

So I'm wondering why we haven't arranged to have git-log show this information, and whether there would be any objections if "git-log" showed something like this:

commit 7d5021d2ef5d414908d8e4db26c324c1de19f9f1
Head: tytso-patches-20070223
Author: Theodore Ts'o <tytso@mit.edu>
Date:   Fri Feb 23 14:46:01 2007 -0500
Cherry pick "unload head on shutdown" patch
...
commit c8f71b01a50597e298dc3214a2f2be7b8d31170c
Tag: v2.6.21-rc1
Author: Linus Torvalds <torvalds@woody.linux-foundation.org>
Date:   Tue Feb 20 20:32:30 2007 -0800
    Linux 2.6.21-rc1

Would there be objections in adding this to --pretty=medium (i.e., the default), or would it be better to add something like tihs to --pretty=full or --pretty=fuller?

The only reason why I could imagine not doing this by default would be a potential performance problem if there were thousands of heads or branch heads.

						- Ted
Next: Junio C Hamano
Message 1 of 15 in “Any objectsions to enhancing git-log to show tags/branch heads?”
  1. Theodore Ts'oApr 16, 2007
  2. Junio C HamanoApr 16, 2007
  3. Theodore TsoApr 16, 2007
  4. Peter BaumannApr 16, 2007
  5. J. Bruce FieldsApr 16, 2007
  6. Peter BaumannApr 17, 2007
  7. J. Bruce FieldsApr 17, 2007
  8. Julian PhillipsApr 16, 2007
  9. Peter BaumannApr 17, 2007
  10. Linus TorvaldsApr 16, 2007
  11. Theodore TsoApr 17, 2007
  12. Jakub NarebskiApr 17, 2007
  13. Linus TorvaldsApr 17, 2007
  14. Junio C HamanoApr 23, 2007
  15. Theodore TsoApr 17, 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.