summaryrefslogtreecommitdiff
path: root/t/t3429-rebase-edit-todo.sh
blob: b9292dfc2a329b32472368fb2874cc4a1e14cf47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

test_description='rebase should reread the todo file if an exec modifies it'

. ./test-lib.sh

test_expect_success 'rebase exec modifies rebase-todo' '
	test_commit initial &&
	todo=.git/rebase-merge/git-rebase-todo &&
	git rebase HEAD -x "echo exec touch F >>$todo" &&
	test -e F
'

test_done