author | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 18 May 2005 20:43:58 +0000 (13:43 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Wed, 18 May 2005 20:43:58 +0000 (13:43 -0700) | ||
commit | 73848892adeaa421825672bce929b9cc16043fa9 | |
tree | 56dbc1aa76bca0ff8ff72e311f5dad382caad8d3 | tree | snapshot |
parent | 0a8365a179685feecee427075a9c2db8a66c434a | commit | diff |
diff-tree: show hex sha1 of the single-commit argument case correctly.
We can't just do the "sha1_to_hex()" thing directly, since the
buffer in question will be overwritten by the name of the parent.
So teach diff_tree_commit() to generate the proper hex name itself.
We can't just do the "sha1_to_hex()" thing directly, since the
buffer in question will be overwritten by the name of the parent.
So teach diff_tree_commit() to generate the proper hex name itself.
diff-tree.c | diff | blob | history |