summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47dd0d5)
raw | patch | inline | side by side (parent: 47dd0d5)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Dec 2005 10:03:15 +0000 (02:03 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Dec 2005 02:32:44 +0000 (18:32 -0800) |
It was implemented there but was not advertised.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/diff-options.txt | patch | blob | history | |
diff.h | patch | blob | history |
index 3d1175e8646474ca35244a3d7e57cd02f18dc310..9e574a04d3904228f835eca2ab698c66b92bf2a8 100644 (file)
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.
index c3486ffa8618c1b2478c7c7197399bc47af0cbf0..5696f2aff0644f331507679e0a58d7fcdc3501ec 100644 (file)
--- a/diff.h
+++ b/diff.h
" --name-only show only names of changed files.\n" \
" --name-status show names and status of changed files.\n" \
" --full-index show full object name on index lines.\n" \
-" --abbrev abbreviate object names in diff-tree header and diff-raw.\n" \
+" --abbrev=<n> abbreviate object names in diff-tree header and diff-raw.\n" \
" -R swap input file pairs.\n" \
" -B detect complete rewrites.\n" \
" -M detect renames.\n" \