1#!/bin/sh
23
test_description='rebase should reread the todo file if an exec modifies it'
45
. ./test-lib.sh
67
test_expect_success 'rebase exec modifies rebase-todo' '
8test_commit initial &&
9todo=.git/rebase-merge/git-rebase-todo &&
10git rebase HEAD -x "echo exec touch F >>$todo" &&
11test -e F
12'
1314
test_done