]> git.ipfire.org Git - thirdparty/git.git/commit - revision.c
Fix output of "git log --graph --boundary"
authorAdam Simpkins <adam@adamsimpkins.net>
Sat, 24 May 2008 23:02:04 +0000 (16:02 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 25 May 2008 19:16:56 +0000 (12:16 -0700)
commit3c68d67b572bce7ff41de463e75ee093e9dd71b7
tree644e0db7ea6e4ee7b0a30e50e0b318943a5210fb
parent7528f27dd677bed65d758667a621034b853595b4
Fix output of "git log --graph --boundary"

Previously the graphing API wasn't aware of the revs->boundary flag, and
it always assumed that commits marked UNINTERESTING would not be
displayed.  As a result, the boundary commits were printed at the end of
the log output, but they didn't have any branch lines connecting them to
their children in the graph.

There was also another bug in the get_revision() code that caused
graph_update() to be called twice on the first boundary commit.  This
caused the graph API to think that a commit had been skipped, and print
a "..." line in the output.

Signed-off-by: Adam Simpkins <adam@adamsimpkins.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
graph.c
revision.c