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

Re: [PATCH] Add new git-graph command

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 30, 2008, 22:54 UTC
Message-ID
<alpine.DEB.1.00.0803310052400.2919@eeepc-johanness>
In-Reply-To
<20080330195840.GA8695@adamsimpkins.net>
Hi,
On Sun, 30 Mar 2008, Adam Simpkins wrote:
Show 18 quoted lines
> This is a first pass at a command to print a text-based graph of the 
> commit history.  It is similar to the history graph shown by gitk, but 
> doesn't require a windowing system.
> 
> Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
> ---
> 
> I added this since I really like gitk, but don't always have easy access 
> to an X display on some of the systems I use.  I tried using tig, but I 
> found its graph output very hard to read.  The graph produced by 
> git-graph is less compact, but much more readable.
> 
> Ultimately, it would probably be better to integrate this functionality 
> into git-log, instead of having it as a standalone command.  For 
> example, a new --graph option could be added to cause the graph to be 
> displayed alongside the existing git log output. However, this would 
> require tighter integration between the graphing code and the log_tree.c 
> and pretty.c code, which I'm not all that familiar with.

Funny. Some time ago, Shawn and I mused how involved it would be to write some tool very similar to this, only that the output could be read back by git-gui. This would be needed for a sensible "rebase -i" implementation in git-gui.

Ciao, Dscho

Previous: Adam SimpkinsNext: Junio C Hamano
Message 6 of 14 in “Add new git-graph command”
  1. Add new git-graph commandAdam Simpkins, Mar 30, 2008
  2. Jakub NarebskiMar 30, 2008
  3. Adam SimpkinsMar 30, 2008
  4. Matthieu MoyMar 30, 2008
  5. Adam SimpkinsMar 30, 2008
  6. Johannes SchindelinMar 30, 2008
  7. Junio C HamanoMar 30, 2008
  8. Adam SimpkinsMar 31, 2008
  9. Teemu LikonenMar 31, 2008
  10. Adam SimpkinsMar 31, 2008
  11. Stephen SinclairApr 1, 2008
  12. Teemu LikonenApr 1, 2008
  13. Jeff KingApr 1, 2008
  14. Teemu LikonenApr 1, 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.