Documentation/log: clarify sha1 non-abbreviation in log --raw
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Matthieu Moy committed
May 18, 2015 at 19:55 UTC
92de92172d1c01f3029d592f7e0f15d52149200b
1 file changed
+4
-1
Documentation/pretty-formats.txt
+4
-1
@@ -79,7 +79,10 @@ stored in the commit object. Notably, the SHA-1s are
79
displayed in full, regardless of whether --abbrev or
80
--no-abbrev are used, and 'parents' information show the
81
true parent commits, without taking grafts or history
82
-simplification into account.
82
+simplification into account. Note that this format affects the way
83
+commits are displayed, but not the way the diff is shown e.g. with
84
+`git log --raw`. To get full object names in a raw diff format,
85
+use `--no-abbrev`.
86
87
* 'format:<string>'
88
+