]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.h
rebase--interactive: move rearrange_squash_in_todo_file()
authorAlban Gruin <alban.gruin@gmail.com>
Tue, 5 Mar 2019 19:17:59 +0000 (20:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 Mar 2019 00:17:57 +0000 (09:17 +0900)
commit79d7e883bb69803daf4a6f44692cb8fc0eee5b24
tree90d349927510530170bd2190ea2105ada8579a24
parent1ba204de6924b171024638bb5f3f405a0e0946d0
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>
builtin/rebase--interactive.c
sequencer.c
sequencer.h