diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t7501-commit.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index 45446b186e..e59cc4e861 100755 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -81,7 +81,13 @@ test_expect_success 'empty commit message' ' test_must_fail git commit -F msg -a ' +test_expect_success 'template "emptyness" check does not kick in with -F' ' + git checkout HEAD file && echo >>file && git add file && + git commit -t file -F file +' + test_expect_success 'setup: commit message from file' ' + git checkout HEAD file && echo >>file && git add file && echo this is the commit message, coming from a file >msg && git commit -F msg -a ' |