t / t4013 / diff.diff-tree_masteron commit use strbuf_complete_line() for adding a newline if needed (a0d4923)
   1$ git diff-tree master
   2$