Re: git log --raw abbreviates SHA1s, despite what manual says
- From
- Ed Avis <eda@waniasset.com>
- Date
- May 15, 2015, 15:33 UTC
- Message-ID
- <loom.20150515T173020-388@post.gmane.org>
- In-Reply-To
- <loom.20150515T171548-204@post.gmane.org>
Ah, I see that --raw not only specifies the raw format should be used for diffs, but also enables printing diffs even if they wouldn't be otherwise.
Note that --format=raw still prints abbreviated SHA-1s in the diff:
% git log --format=raw --raw
...
:100644 100644 c30ec14... b87bb8b... M myfilenamePossibly --format=raw should imply --no-abbrev?
-- Ed Avis <eda@waniasset.com>