diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-01-12 02:13:23 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-14 20:13:04 (GMT) |
commit | 1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7 (patch) | |
tree | f01d372d987558abf669453dbeebea7a7e220107 /builtin/commit.c | |
parent | dba093ddc0341a85f576bbd5227d393a820d930a (diff) | |
download | git-1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7.zip git-1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7.tar.gz git-1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7.tar.bz2 |
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/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 004b816..e29fb5e 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1674,7 +1674,7 @@ int cmd_commit(int argc, const char **argv, const char *prefix) run_command_v_opt(argv_gc_auto, RUN_GIT_CMD); run_commit_hook(use_editor, get_index_file(), "post-commit", NULL); if (amend && !no_post_rewrite) { - commit_post_rewrite(current_head, &oid); + commit_post_rewrite(the_repository, current_head, &oid); } if (!quiet) { unsigned int flags = 0; |