author | Jeff King <peff@peff.net> | |
Mon, 9 May 2011 23:53:00 +0000 (16:53 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 10 May 2011 00:02:08 +0000 (17:02 -0700) | ||
commit | 587ac8c9d4b4a9e054dddb4779f6206fde5950ef | |
tree | ed4dc6591ad1ba1fa45789b60c76946021d44c63 | tree | snapshot |
parent | 1020d08786c1413d488845f9175d01c0ea073a6c | commit | diff |
t7501.8: feed a meaningful command
The command expects "git commit --interactive <path>" to fail because you
cannot (yet) limit "commit --interactive" with a pathspec, but even if the
command allowed to take <path>, the test would have failed as saying just
7:quit would leave the index the same as the current commit, leading to an
attempt to create an empty commit that would fail without --allow-empty.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The command expects "git commit --interactive <path>" to fail because you
cannot (yet) limit "commit --interactive" with a pathspec, but even if the
command allowed to take <path>, the test would have failed as saying just
7:quit would leave the index the same as the current commit, leading to an
attempt to create an empty commit that would fail without --allow-empty.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh | diff | blob | history |