Add test for commit with --dry-run --short for a new file of zero
length.
The test demonstrates that the setting of the committable flag is
broken.
Signed-off-by: Stephen P. Smith <redacted>
Signed-off-by: Junio C Hamano <redacted>
git commit -m "conflicts fixed from merge."
'
+test_expect_failure '--dry-run --short' '
+ >test-file &&
+ git add test-file &&
+ git commit --dry-run --short
+'
+
test_done