t / t3429-rebase-edit-todo.shon commit t7501: add test of "commit --dry-run --short" (8282f59)
   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