Re: [PATCH 1/4] Add history graph API
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- Apr 7, 2008, 07:26 UTC
- Message-ID
- <20080407072629.GA5168@mithlond.arda.local>
- In-Reply-To
- <1207507332-1866-1-git-send-email-adam@adamsimpkins.net>
Adam Simpkins kirjoitti (6.4.2008 klo 11.42):
> [...] graphing API [...] is more similar to gitk's graph, which many > people are already familiar with. It also doesn't require a terminal > with Unicode support.
As I've spent some time in testing the --graph functionality I'm spamming my discoveries here.
When limiting the log output to a subdirectory or to a file the graph becomes quite hard to understand. Probably the easiest way to demonstrate my point is to compare side by side (for example)
git log --graph --pretty=oneline -- Documentation/ and
gitk -- Documentation/
in the Git repository. gitk draws lines between commits even when they are not in direct parent-child relationship (i.e. there is longer series of commits between them). With log --graph it's hard to tell which development line some commits come from.
The whole-repository log graphs seem to work nicely though.