git log --raw abbreviates SHA1s, despite what manual says
- From
- Ed Avis <eda@waniasset.com>
- Date
- May 15, 2015, 14:46 UTC
- Message-ID
- <loom.20150515T164345-901@post.gmane.org>
The manual page for git-log says:
The raw format shows the entire commit exactly as stored in the
commit object. Notably, the SHA-1s are displayed in full,
regardless of whether --abbrev or --no-abbrev are used,But this is not quite true. Here is an example line from 'git log --raw':
:100644 100644 9a203c9... daa08a7... M myfilename
If I instead run 'git log --raw --no-abbrev', it prints full SHA-1s instead.
I think it would be more useful for the behaviour to match the documentation, and for --raw to imply --no-abbrev in all cases.
-- Ed Avis <eda@waniasset.com>