summaryrefslogtreecommitdiff
path: root/t/t9819-git-p4-case-folding.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-10-21 14:25:00 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-10-21 09:32:34 -0700
commitc22f7dfb0c34da55390d820ff69b9568a3be4a46 (patch)
tree05556de98957ed0c9e058f4bcd020a55510b0e79 /t/t9819-git-p4-case-folding.sh
parentsequencer: get rid of the subcommand field (diff)
downloadtgif-c22f7dfb0c34da55390d820ff69b9568a3be4a46.tar.xz
sequencer: remember the onelines when parsing the todo file
The `git-rebase-todo` file contains a list of commands. Most of those commands have the form <verb> <sha1> <oneline> The <oneline> is displayed primarily for the user's convenience, as rebase -i really interprets only the <verb> <sha1> part. However, there are *some* places in interactive rebase where the <oneline> is used to display messages, e.g. for reporting at which commit we stopped. So let's just remember it when parsing the todo file; we keep a copy of the entire todo file anyway (to write out the new `done` and `git-rebase-todo` file just before processing each command), so all we need to do is remember the begin offsets and lengths. As we will have to parse and remember the command-line for `exec` commands later, we do not call the field "oneline" but rather "arg" (and will reuse that for exec's command-line). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9819-git-p4-case-folding.sh')
0 files changed, 0 insertions, 0 deletions