summaryrefslogtreecommitdiff
path: root/sequencer.h
diff options
context:
space:
mode:
authorAlban Gruin <alban.gruin@gmail.com>2019-03-05 19:17:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-03-07 00:17:57 (GMT)
commit79d7e883bb69803daf4a6f44692cb8fc0eee5b24 (patch)
tree90d349927510530170bd2190ea2105ada8579a24 /sequencer.h
parent1ba204de6924b171024638bb5f3f405a0e0946d0 (diff)
downloadgit-79d7e883bb69803daf4a6f44692cb8fc0eee5b24.zip
git-79d7e883bb69803daf4a6f44692cb8fc0eee5b24.tar.gz
git-79d7e883bb69803daf4a6f44692cb8fc0eee5b24.tar.bz2
rebase--interactive: move rearrange_squash_in_todo_file()
As rearrange_squash_in_todo_file() is only needed inside of rebase--interactive.c for `rebase -p', it is moved there from sequencer.c. The parameter r (repository) is dropped along the way, and the error handling is slightly improved. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.h b/sequencer.h
index 0c4b7c8..13c5676 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -153,7 +153,7 @@ int complete_action(struct repository *r, struct replay_opts *opts, unsigned fla
const char *shortrevisions, const char *onto_name,
const char *onto, const char *orig_head, struct string_list *commands,
unsigned autosquash, struct todo_list *todo_list);
-int rearrange_squash_in_todo_file(struct repository *r);
+int todo_list_rearrange_squash(struct todo_list *todo_list);
extern const char sign_off_header[];