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

[PATCH 0/4] Make --decorate more useful

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 11, 2007, 01:28 UTC
Message-ID
<Pine.LNX.4.64.0707110220340.4047@racer.site>
This series is meant to (partially) replace the patch I posted in
http://article.gmane.org/gmane.comp.version-control.git/24383

Often it is useful to find out what feature came in when, to quickly find out if some version of the software is sufficient, or if the other person has to upgrade.

With this series applied, you can say
	git log --decorate=tag -S<some keyword> <file>

to find out what that version was, indeed you even get a human readable name for that commit, in addition to the commit name.

Johannes Schindelin (4):
      Move add_name_decoration() and add_ref_decoration() to commit.[ch]
      Move the --decorate option from builtin-log.c to revision.c.
      --decorate now decorates ancestors, too
      --decorate: prefer shorter names
 Documentation/git-log.txt        |    3 -
 Documentation/pretty-options.txt |   15 ++++++
 builtin-log.c                    |   39 +-------------
 commit.c                         |  104 ++++++++++++++++++++++++++++++++++++++
 commit.h                         |    5 ++
 log-tree.c                       |    4 ++
 revision.c                       |   47 +++++++++++++++++
 revision.h                       |    9 +++
 8 files changed, 186 insertions(+), 40 deletions(-)
Next: Johannes Schindelin
Message 1 of 11 in “Make --decorate more useful”
  1. 0/4 Make --decorate more usefulJohannes Schindelin, Jul 11, 2007
  2. 1/4 Move add_name_decoration() and add_ref_decoration() to commit.[ch]Johannes Schindelin, Jul 11, 2007
  3. 2/4 Move the --decorate option from builtin-log.c to revision.c.Johannes Schindelin, Jul 11, 2007
  4. Junio C HamanoJul 12, 2007
  5. Johannes SchindelinJul 13, 2007
  6. 3/4 --decorate now decorates ancestors, tooJohannes Schindelin, Jul 11, 2007
  7. Theodore TsoJul 11, 2007
  8. Junio C HamanoJul 12, 2007
  9. Johannes SchindelinJul 14, 2007
  10. Johannes SchindelinJul 21, 2007
  11. 4/4 --decorate: prefer shorter namesJohannes Schindelin, Jul 11, 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.