bug in "git log --graph" at the tail end?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 23, 2008, 20:42 UTC
- Message-ID
- <7vve14rbu7.fsf@gitster.siamese.dyndns.org>
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?