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 /builtin/commit.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 'builtin/commit.c')
| -rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 9e3a09d532..3700f66ba9 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1155,7 +1155,7 @@ static const char *find_author_by_nickname(const char *name) setup_revisions(ac, av, &revs, NULL); revs.mailmap = xmalloc(sizeof(struct string_list)); string_list_init_nodup(revs.mailmap); - read_mailmap(revs.mailmap); + read_mailmap(the_repository, revs.mailmap); if (prepare_revision_walk(&revs)) die(_("revision walk setup failed")); |
