diff options
author | Liam Beguin <liambeguin@gmail.com> | 2017-12-05 18:52:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-05 19:20:50 +0100 |
commit | 8dccc7a6b2deb05783ea5d57b53548dab32d99ae (patch) | |
tree | 8d5eb9922419257411155d99841ff68c3fa898d4 /sequencer.h | |
parent | rebase -i: set commit to null in exec commands (diff) | |
download | git-8dccc7a6b2deb05783ea5d57b53548dab32d99ae.tar.xz git-8dccc7a6b2deb05783ea5d57b53548dab32d99ae.zip |
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.h | 2 |
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); |