diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-13 17:21:41 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-19 18:32:44 -0800 |
commit | 47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f (patch) | |
tree | 49a5c32f9fbcd84e328e6b285d8d1393271563e8 /Documentation/diff-options.txt | |
parent | 1c15afb9343bca82e687d008ec983a9110ac9c40 (diff) | |
download | git-47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f.tar.gz git-47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f.tar.xz |
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>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index 6b496ede2..3d1175e86 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -18,6 +18,13 @@ object name of pre- and post-image blob on the "index" line when generating a patch format output. +--abbrev:: + Instead of showing the full 40-byte hexadecimal object + name in diff-raw format output and diff-tree header + lines, show only handful prefix. This is independent of + --full-index option above, which controls the diff-patch + output format. + -B:: Break complete rewrite changes into pairs of delete and create. |