Make test "using invalid commit with -C" more strict
authorKacper Kornet <redacted>
Sat, 24 Aug 2013 04:01:44 +0000 (06:01 +0200)
committerJunio C Hamano <redacted>
Sun, 25 Aug 2013 06:58:43 +0000 (23:58 -0700)
commit0bb0c15533c52bfb6f7a5174265869b808faf7ee
tree484406066cbe9013bc9290f13561841458f2811f
parente230c568c4b9a991e3175e5f65171a566fd8e39c
Make test "using invalid commit with -C" more strict

In the test 'using invalid commit with -C' git-commit would have failed
even if the -C option had been given the correct commit, as there was
nothing to commit. Pass --allow-empty to make sure it would make a commit,
were there no issues with the argument given to the -C option.

Signed-off-by: Kacper Kornet <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t7501-commit.sh
git clone https://git.99rst.org/PROJECT