diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-04 10:53:00 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-04 10:53:00 -0800 |
| commit | 2d843a2d3d6c2d5e7861e6aa99743d15d36746b9 (patch) | |
| tree | 46e32c12f1d8ab42ac09f6a2dfa1211ac5911e0a /ref-filter.c | |
| parent | efd5fdbcf9efce78eb536d440dcf42379d9b3197 (diff) | |
| parent | 6aea51bc3bf3c5318b97b5bddc405c29f1b23e8e (diff) | |
| download | git-2d843a2d3d6c2d5e7861e6aa99743d15d36746b9.tar.xz | |
Merge branch 'bk/mailmap-wo-the-repository'
Wean the mailmap code off of the_repository dependency.
* bk/mailmap-wo-the-repository:
mailmap: drop global config variables
mailmap: stop using the_repository
Diffstat (limited to 'ref-filter.c')
| -rw-r--r-- | ref-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c index 6bbb6fac18..291d94328c 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -1753,7 +1753,7 @@ static void grab_person(const char *who, struct atom_value *val, int deref, void (starts_with(name + wholen, "email") && (atom->u.email_option.option & EO_MAILMAP))) { if (!mailmap.items) - read_mailmap(&mailmap); + read_mailmap(the_repository, &mailmap); strbuf_addstr(&mailmap_buf, buf); apply_mailmap_to_header(&mailmap_buf, headers, &mailmap); wholine = find_wholine(who, wholen, mailmap_buf.buf); |
