t / t4013 / diff.diff-tree_--pretty_initialon commit use strbuf_add_unique_abbrev() for adding short hashes (1eb47f1)
   1$ git diff-tree --pretty initial
   2$