diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-06-01 12:45:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-01 12:45:18 -0700 |
commit | abcbafedbfbd5994ad604bab141c0ba18f5a19df (patch) | |
tree | 49b3dda778d5df9f024013c8480f9b4ba0f3db50 /Documentation/pretty-formats.txt | |
parent | 67f0b6f3b2226ea858c616028375dcc3c46ccc37 (diff) | |
parent | 92de92172d1c01f3029d592f7e0f15d52149200b (diff) | |
download | git-abcbafedbfbd5994ad604bab141c0ba18f5a19df.tar.gz |
Merge branch 'mm/log-format-raw-doc'
Clarify that "log --raw" and "log --format=raw" are unrelated
concepts.
* mm/log-format-raw-doc:
Documentation/log: clarify sha1 non-abbreviation in log --raw
Documentation/log: clarify what --raw means
Diffstat (limited to 'Documentation/pretty-formats.txt')
-rw-r--r-- | Documentation/pretty-formats.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index dcf7429a47..dc865cbb27 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -79,7 +79,10 @@ stored in the commit object. Notably, the SHA-1s are displayed in full, regardless of whether --abbrev or --no-abbrev are used, and 'parents' information show the true parent commits, without taking grafts or history -simplification into account. +simplification into account. Note that this format affects the way +commits are displayed, but not the way the diff is shown e.g. with +`git log --raw`. To get full object names in a raw diff format, +use `--no-abbrev`. * 'format:<string>' + |