aboutsummaryrefslogtreecommitdiffstats
path: root/sequencer.h
diff options
context:
space:
mode:
authorLiam Beguin <liambeguin@gmail.com>2017-12-05 12:52:30 -0500
committerJunio C Hamano <gitster@pobox.com>2017-12-05 10:20:50 -0800
commit8dccc7a6b2deb05783ea5d57b53548dab32d99ae (patch)
tree8d5eb9922419257411155d99841ff68c3fa898d4 /sequencer.h
parent7dcbb3cb6d4f06ff305e5a18dba873261d3fa5d3 (diff)
downloadgit-8dccc7a6b2deb05783ea5d57b53548dab32d99ae.tar.gz
rebase -i: refactor transform_todo_ids
The transform_todo_ids function is a little hard to read. Lets try to make it easier by using more of the strbuf API. Also, since we'll soon be adding command abbreviations, let's rename the function so it's name reflects that change. Signed-off-by: Liam Beguin <liambeguin@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 6f3d3df82c..4f7f2c93f8 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -48,7 +48,7 @@ int sequencer_remove_state(struct replay_opts *opts);
int sequencer_make_script(int keep_empty, FILE *out,
int argc, const char **argv);
-int transform_todo_ids(int shorten_ids);
+int transform_todos(int shorten_ids);
int check_todo_list(void);
int skip_unnecessary_picks(void);
int rearrange_squash(void);