t / t5100 / msg0001on commit use strbuf_add_unique_abbrev() for adding short hashes (1eb47f1)
   1Here is a patch from A U Thor.
   2