t / t4013 / diff.diff-tree_--pretty_--patch-with-stat_initialon commit add reentrant variants of sha1_to_hex and find_unique_abbrev (af49c6d)
   1$ git diff-tree --pretty --patch-with-stat initial
   2$