summaryrefslogtreecommitdiffstats
path: root/sequencer.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-07-14 16:45:11 +0200
committerJunio C Hamano <gitster@pobox.com>2017-07-27 15:35:05 -0700
commit3546c8d927d31048f0d6f41aa132ebdb82cf8bda (patch)
treea55c2138c0cc1d80b83390964d929bde54f520d7 /sequencer.h
parent1f4044af7f35f9979d464bc2009b554e8e9dfb99 (diff)
downloadgit-3546c8d927d31048f0d6f41aa132ebdb82cf8bda.tar.gz
git-3546c8d927d31048f0d6f41aa132ebdb82cf8bda.tar.xz
rebase -i: also expand/collapse the SHA-1s via the rebase--helper
This is crucial to improve performance on Windows, as the speed is now mostly dominated by the SHA-1 transformation (because it spawns a new rev-parse process for *every* line, and spawning processes is pretty slow from Git for Windows' MSYS2 Bash). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sequencer.h b/sequencer.h
index 83f2943b7..71d25374a 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -48,6 +48,8 @@ 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);
+
extern const char sign_off_header[];
void append_signoff(struct strbuf *msgbuf, int ignore_footer, unsigned flag);