author | Thomas Rast <trast@student.ethz.ch> | |
Fri, 13 Feb 2009 22:10:41 +0000 (23:10 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 14 Feb 2009 01:18:22 +0000 (17:18 -0800) | ||
commit | 7fcda9201e192413c2e63fe35ce6664dbc81705d | |
tree | e9103e8f6e6fa0fa060ebf2e1ee2032bf8ca1b8e | tree | snapshot |
parent | 5cd12b85fe8ff74f202a158511ead34e8aba584c | commit | diff |
log: do not print ellipses with --abbrev-commit
'git log --abbrev-commit' added an ellipsis to all commit names that
were abbreviated. This was particularly annoying if you wanted to
cut&paste the sha1 from the terminal, since selecting by word would
pick up '...' too.
So use find_unique_abbrev() instead of diff_unique_abbrev() in all
log-related commit sha1 printing routines, and also change the
formatting of the 'Merge: parent1 parent2' line output via
pretty_print_commit().
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
'git log --abbrev-commit' added an ellipsis to all commit names that
were abbreviated. This was particularly annoying if you wanted to
cut&paste the sha1 from the terminal, since selecting by word would
pick up '...' too.
So use find_unique_abbrev() instead of diff_unique_abbrev() in all
log-related commit sha1 printing routines, and also change the
formatting of the 'Merge: parent1 parent2' line output via
pretty_print_commit().
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 files changed: