summaryrefslogtreecommitdiff
path: root/builtin/am.c
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-12 09:13:23 +0700
committerJunio C Hamano <gitster@pobox.com>2019-01-14 12:13:04 -0800
commit1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7 (patch)
treef01d372d987558abf669453dbeebea7a7e220107 /builtin/am.c
parentdba093ddc0341a85f576bbd5227d393a820d930a (diff)
downloadgit-1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7.tar.gz
notes-utils.c: remove the_repository references
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/am.c')
-rw-r--r--builtin/am.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/am.c b/builtin/am.c
index 95370313b6..d32044545d 100644
--- a/builtin/am.c
+++ b/builtin/am.c
@@ -527,7 +527,7 @@ static int copy_notes_for_rebase(const struct am_state *state)
}
finish:
- finish_copy_notes_for_rewrite(c, msg);
+ finish_copy_notes_for_rewrite(the_repository, c, msg);
fclose(fp);
strbuf_release(&sb);
return ret;