diff options
| author | Eric Wong <e@80x24.org> | 2020-09-01 07:43:55 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-12-23 13:40:09 -0800 |
| commit | a9ecaa06a7235e62a9cf4703a19463fcee4449c7 (patch) | |
| tree | 05e9ac19610eb10df0b4b558a16b417fd666f216 /commit.c | |
| parent | Twelfth batch (diff) | |
| download | git-a9ecaa06a7235e62a9cf4703a19463fcee4449c7.tar.gz git-a9ecaa06a7235e62a9cf4703a19463fcee4449c7.zip | |
core.abbrev=no disables abbreviations
This allows users to write hash-agnostic scripts and configs by
disabling abbreviations. Using "-c core.abbrev=40" will be
insufficient with SHA-256, and "-c core.abbrev=64" won't work with
SHA-1 repos today.
Signed-off-by: Eric Wong <e@80x24.org>
[jc: tweaked implementation, added doc and a test]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
