summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-12 09:13:23 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-14 12:13:04 -0800
commit1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7 (patch)
treef01d372d987558abf669453dbeebea7a7e220107 /sequencer.h
parentgrep: use grep_opt->repo instead of explict repo argument (diff)
downloadtgif-1d18d7581cf1ce45314b7ed58e52d5cc73b2e7a7.tar.xz
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 'sequencer.h')
-rw-r--r--sequencer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sequencer.h b/sequencer.h
index 9d83f0f3e9..2caecd550b 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -124,7 +124,8 @@ int update_head_with_reflog(const struct commit *old_head,
const struct object_id *new_head,
const char *action, const struct strbuf *msg,
struct strbuf *err);
-void commit_post_rewrite(const struct commit *current_head,
+void commit_post_rewrite(struct repository *r,
+ const struct commit *current_head,
const struct object_id *new_head);
int prepare_branch_to_be_rebased(struct replay_opts *opts, const char *commit);