• T
    log: do not print ellipses with --abbrev-commit · 7fcda920
    Thomas Rast 提交于
    '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: NThomas Rast <trast@student.ethz.ch>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    7fcda920
pretty.c 22.0 KB