diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-08-02 05:14:41 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-02 05:15:43 +0400 |
commit | 6d4bbebd35e3a6e8091d7188f1c4d49af7f054e3 (patch) | |
tree | 8976d03e7f57d4b8813a33d88f120abc40b3744b /t/t7501-commit.sh | |
parent | 08874658b450600e72bb7cb0d0747c1ec4b0bfe1 (diff) |
git-commit.sh: Permit the --amend message to be given with -m/-c/-C/-F.
[jc: adjusted t/t7501 as this makes -F and --amend compatible]
Signed-off-by: David Kastrup <dak@gnu.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7501-commit.sh')
-rw-r--r-- | t/t7501-commit.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t7501-commit.sh b/t/t7501-commit.sh index 8cc2cd9e60..6bd3c9e3e0 100644 --- a/t/t7501-commit.sh +++ b/t/t7501-commit.sh @@ -27,7 +27,7 @@ test_expect_success \ test_expect_failure \ "invalid options 1" \ - "git-commit --amend -F file" + "git-commit -m foo -m bar -F file" test_expect_failure \ "invalid options 2" \ @@ -78,9 +78,9 @@ test_expect_success \ "VISUAL=./editor git-commit --amend" test_expect_failure \ - "passing --amend and -F" \ + "passing -m and -F" \ "echo 'enough with the bongos' >file && \ - git-commit -F msg --amend ." + git-commit -F msg -m amending ." test_expect_success \ "using message from other commit" \ |