git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* bug in "git log --graph" at the tail end?
@ 2008-05-23 20:42 Junio C Hamano
  2008-05-23 21:02 ` Reece Dunn
  2008-05-24  1:05 ` Adam Simpkins
  0 siblings, 2 replies; 15+ messages in thread
From: Junio C Hamano @ 2008-05-23 20:42 UTC (permalink / raw)
  To: Adam Simpkins; +Cc: git

It appears that "log --graph" output has a bug at its tail end.

    $ git log --pretty=oneline --abbrev-commit --graph 9d88058^..1af8bca
    M   1af8bca... Merge branch 'maint'
    |\  
    | M   008442f... Merge branch 'maint-1.5.4' into maint
    | |\  
    | * e77b0b5... git-am: fix typo in usage message
    | * 74190d2... doc/git-daemon: s/uploadarchive/uploadarch/
    M   9d88058... Merge branch 'ar/add-unreadable'
    |\  
    * dad25e4... Add a config option to ignore errors for git-add
    * 8959743... Add a test for git-add --ignore-errors
    * 984b83e... Add --ignore-errors to git-add to allow it to sk...
    * 7ae02a3... Extend interface of add_files_to_cache to allow ...
    * 960b8ad... Make the exit code of add_file_to_index actually...

Ideally, I think the output should look like this:

    M   1af8bca... Merge branch 'maint'
    |\  
    | M   008442f... Merge branch 'maint-1.5.4' into maint
    | |\  
    | * e77b0b5... git-am: fix typo in usage message
    | * 74190d2... doc/git-daemon: s/uploadarchive/uploadarch/
    M   9d88058... Merge branch 'ar/add-unreadable'
    |\  
    | * dad25e4... Add a config option to ignore errors for git-add
    | * 8959743... Add a test for git-add --ignore-errors
    | * 984b83e... Add --ignore-errors to git-add to allow it to sk...
    | * 7ae02a3... Extend interface of add_files_to_cache to allow ...
    | * 960b8ad... Make the exit code of add_file_to_index actually...

This is purely cosmetic, but because --graph is only about the cosmetics,
we may want to do something about it.

Thoughts?

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-05-25  6:51 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-23 20:42 bug in "git log --graph" at the tail end? Junio C Hamano
2008-05-23 21:02 ` Reece Dunn
2008-05-24  1:05 ` Adam Simpkins
2008-05-24  1:39   ` Junio C Hamano
2008-05-24  2:24     ` [PATCH 0/2] fix "log --graph" issues with uninteresting parents Adam Simpkins
2008-05-24  2:24       ` [PATCH 1/2] graph API: fix graph mis-alignment after uninteresting commits Adam Simpkins
2008-05-24  2:24         ` [PATCH 2/2] graph API: don't print branch lines for uninteresting merge parents Adam Simpkins
2008-05-24 18:25           ` Teemu Likonen
2008-05-24 20:52             ` [PATCH 0/1] graph API: always print 'M' for merge commits Adam Simpkins
2008-05-24 20:52               ` [PATCH 1/1] " Adam Simpkins
2008-05-24 22:21                 ` Adam Simpkins
2008-05-25  1:28               ` [PATCH 0/1] " Junio C Hamano
2008-05-25  6:29                 ` Teemu Likonen
2008-05-25  6:49                 ` Adam Simpkins
2008-05-24 22:21           ` [PATCH 2/2] graph API: don't print branch lines for uninteresting merge parents Adam Simpkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).