mirror of
https://github.com/git/git.git
synced 2025-09-10 22:44:50 +02:00
Merge branch 'pw/rebase-i-parse-fix'
Fixes to code that parses the todo file used in "rebase -i". * pw/rebase-i-parse-fix: rebase -i: fix parsing of "fixup -C<commit>" rebase -i: match whole word in is_command()
This commit is contained in:
@@ -32,6 +32,14 @@ test_set_editor () {
|
||||
export EDITOR
|
||||
}
|
||||
|
||||
# Like test_set_editor but sets GIT_SEQUENCE_EDITOR instead of EDITOR
|
||||
test_set_sequence_editor () {
|
||||
FAKE_SEQUENCE_EDITOR="$1"
|
||||
export FAKE_SEQUENCE_EDITOR
|
||||
GIT_SEQUENCE_EDITOR='"$FAKE_SEQUENCE_EDITOR"'
|
||||
export GIT_SEQUENCE_EDITOR
|
||||
}
|
||||
|
||||
test_decode_color () {
|
||||
awk '
|
||||
function name(n) {
|
||||
|
||||
Reference in New Issue
Block a user