t / t3429-rebase-edit-todo.shon commit parse_opt_ref_sorting: always use with NONEG flag (95be717)
   1#!/bin/sh
   2
   3test_description='rebase should reread the todo file if an exec modifies it'
   4
   5. ./test-lib.sh
   6
   7test_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
  14test_done