]>
Commit | Line | Data |
---|---|---|
54fd3243 SH |
1 | #!/bin/sh |
2 | ||
3 | test_description='rebase should reread the todo file if an exec modifies it' | |
4 | ||
5 | . ./test-lib.sh | |
6 | ||
7 | test_expect_success 'rebase exec modifies rebase-todo' ' | |
8 | test_commit initial && | |
9 | todo=.git/rebase-merge/git-rebase-todo && | |
10 | git rebase HEAD -x "echo exec touch F >>$todo" && | |
11 | test -e F | |
12 | ' | |
13 | ||
14 | test_done |