From: Johannes Schindelin Date: Sun, 30 Mar 2008 22:54:32 GMT Subject: Re: [PATCH] Add new git-graph command Message-ID: In-Reply-To: <20080330195840.GA8695@adamsimpkins.net> Hi, On Sun, 30 Mar 2008, Adam Simpkins wrote: > 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 > --- > > 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