diff options
author | Stephen Hicks <sdh@google.com> | 2017-04-26 21:17:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-04-27 10:56:26 +0900 |
commit | 54fd3243daec7d59394f25846450d83c0012e57c (patch) | |
tree | f5dac03405fbe120d5a1fcad876fe8fd60a00a6e /t/t7613-merge-submodule.sh | |
parent | Getting ready for -rc1 (diff) | |
download | tgif-54fd3243daec7d59394f25846450d83c0012e57c.tar.xz |
rebase -i: reread the todo list if `exec` touched it
In the scripted version of the interactive rebase, there was no internal
representation of the todo list; it was re-read before every command.
That allowed the hack that an `exec` command could append (or even
completely rewrite) the todo list.
This hack was broken by the partial conversion of the interactive rebase
to C, and this patch reinstates it.
We also add a small test to verify that this fix does not regress in the
future.
Signed-off-by: Stephen Hicks <sdh@google.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7613-merge-submodule.sh')
0 files changed, 0 insertions, 0 deletions