diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-03-28 21:20:12 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-28 21:20:12 (GMT) |
commit | e2749914ab8a46d353bf5ef0c66471a7bf16f48a (patch) | |
tree | 497eeb89dbb1b6124b0171260f07d9e9fd3aabc0 /pretty.c | |
parent | 83eaadc2b6f086b245726d147f22a8222eb59ae1 (diff) | |
parent | f999d5188b4060aa0f784a6f4cf1574ea352a1e7 (diff) | |
download | git-e2749914ab8a46d353bf5ef0c66471a7bf16f48a.zip git-e2749914ab8a46d353bf5ef0c66471a7bf16f48a.tar.gz git-e2749914ab8a46d353bf5ef0c66471a7bf16f48a.tar.bz2 |
Merge branch 'bl/pretty-shorthand-config-fix' into next
The "--pretty=<shortHand>" option of the commands in the "git log"
family, defined as "[pretty] shortHand = <expansion>" should have
been looked up case insensitively, but was not, which has been
corrected.
* bl/pretty-shorthand-config-fix:
pretty: find pretty formats case-insensitively
pretty: update tests to use `test_config`
Diffstat (limited to 'pretty.c')
-rw-r--r-- | pretty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ static struct cmt_fmt_map *find_commit_format_recursive(const char *sought, for (i = 0; i < commit_formats_len; i++) { size_t match_len; - if (!starts_with(commit_formats[i].name, sought)) + if (!istarts_with(commit_formats[i].name, sought)) continue; match_len = strlen(commit_formats[i].name); |