diff: --abbrev option
commit47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f
authorJunio C Hamano <junkio@cox.net>
Wed, 14 Dec 2005 01:21:41 +0000 (13 17:21 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 20 Dec 2005 02:32:44 +0000 (19 18:32 -0800)
tree49a5c32f9fbcd84e328e6b285d8d1393271563e8
parent1c15afb9343bca82e687d008ec983a9110ac9c40
diff: --abbrev option

When I show transcripts to explain how something works, I often
find myself hand-editing the diff-raw output to shorten various
object names in the output.

This adds --abbrev option to the diff family, which shortens
diff-raw output and diff-tree commit id headers.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/diff-options.txt
diff-tree.c
diff.c
diff.h
sha1_name.c