summaryrefslogtreecommitdiff
path: root/Documentation/diff-options.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-18 10:03:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-20 02:32:44 (GMT)
commit913419fcc648dd43d7f7afdd94fa25aee4f9798a (patch)
tree46aedde9188272974f3ab9d10eaa0f226b94035d /Documentation/diff-options.txt
parent47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f (diff)
downloadgit-913419fcc648dd43d7f7afdd94fa25aee4f9798a.zip
git-913419fcc648dd43d7f7afdd94fa25aee4f9798a.tar.gz
git-913419fcc648dd43d7f7afdd94fa25aee4f9798a.tar.bz2
diff --abbrev: document --abbrev=<n> form.
It was implemented there but was not advertised. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r--Documentation/diff-options.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt
index 3d1175e..9e574a0 100644
--- a/Documentation/diff-options.txt
+++ b/Documentation/diff-options.txt
@@ -18,12 +18,13 @@
object name of pre- and post-image blob on the "index"
line when generating a patch format output.
---abbrev::
+--abbrev[=<n>]::
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.
+ lines, show only handful dhexigits prefix. This is
+ independent of --full-index option above, which controls
+ the diff-patch output format. Non default number of
+ digits can be specified with --abbrev=<n>.
-B::
Break complete rewrite changes into pairs of delete and create.