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

Print Precedes/Follows in git log

From
JEJan Engelhardt <jengelh@computergmbh.de>
Date
Jan 14, 2008, 23:34 UTC
Message-ID
<Pine.LNX.4.64.0801150031480.2315@fbirervta.pbzchgretzou.qr>
Hi,

gitk has a nice feature in that, when a commit is selected, it prints in the log window something like:

(id 1beeffe43311f64df8dd0ab08ff6b1858c58363f)
Author: Tony Jones <tonyj@suse.de>  2007-08-20 22:46:20
Committer: Mark M. Hoffman <mhoffman@lightlink.com>  2007-10-10 04:56:30
Parent: 8afb10490b18e916e33707baa7d1cfc615d545ea (hwmon: (f71882fg) trivial whitespace cleanup)
Branches: ...
Follows: v2.6.23
Precedes: v2.6.24-rc1

And it would be really nice if `git log` would also show the Precedes/Follows lines so one can identify much more easily in big logs like those of the Linux kernel what the next release to have a given patch is.

thanks, Jan

Next: Marco Costalba
Message 1 of 2 in “Print Precedes/Follows in git log”
  1. Jan EngelhardtJan 14, 2008
  2. Marco CostalbaJan 15, 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.