diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-12-28 10:41:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-15 15:38:29 -0800 |
commit | 0aa9d8aa6ce429f0fa04e1ca819ed766c211e242 (patch) | |
tree | a1300182f22bf55f45b5769673cabc6535666dd7 /builtin/am.c | |
parent | Merge branch 'sb/more-repo-in-api' into md/list-objects-filter-by-depth (diff) | |
parent | rebase-interactive.c: remove the_repository references (diff) | |
download | tgif-0aa9d8aa6ce429f0fa04e1ca819ed766c211e242.tar.xz |
Merge branch 'nd/the-index' into md/list-objects-filter-by-depth
Diffstat (limited to 'builtin/am.c')
-rw-r--r-- | builtin/am.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/am.c b/builtin/am.c index 8f27f3375b..95370313b6 100644 --- a/builtin/am.c +++ b/builtin/am.c @@ -1970,7 +1970,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem if (merge_tree(remote_tree)) return -1; - remove_branch_state(); + remove_branch_state(the_repository); return 0; } @@ -1981,7 +1981,7 @@ static int clean_index(const struct object_id *head, const struct object_id *rem static void am_rerere_clear(void) { struct string_list merge_rr = STRING_LIST_INIT_DUP; - rerere_clear(&merge_rr); + rerere_clear(the_repository, &merge_rr); string_list_clear(&merge_rr, 1); } |