Hello all,

Looks like all abbrev sha1s in magit are 8-char long and that is
different from git's default which is 7-char long. This usually causes
me to pause a second when I am using git in the shell and have magit
showing me the log.

This seems to be hardcoded in magit-present-log-line

(concat
     (if sha1
         (propertize (substring sha1 0 8) 'face 'magit-log-sha1)
       (insert-char ? 8))
     " "
     (propertize graph 'face 'magit-log-graph)
     string-refs
     (when message
       (propertize message 'face 'magit-log-message)))

Is it better to use 7-char?

Leo

Reply via email to