diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-06-28 17:42:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-28 17:42:26 -0700 |
commit | 1ba5c532e1f6ede63fd46bf6b647e70baa10a364 (patch) | |
tree | 5b514b2936389e2f0433565881c8555fe189c644 /t | |
parent | 078e9bce1e8e2484d33d7400ae02c10954fd93ac (diff) | |
parent | edac1883dc5fbadbc2d7d7cf975ed347eaef0702 (diff) | |
download | git-1ba5c532e1f6ede63fd46bf6b647e70baa10a364.tar.gz |
Merge branch 'maint'
* maint:
Update draft release notes to 1.7.1.1
notes: Initialise variable to appease gcc
notes: check number of parameters to "git notes copy"
Diffstat (limited to 't')
-rwxr-xr-x | t/t3301-notes.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 64f32ad94d..2d67a40fc1 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -1044,4 +1044,10 @@ test_expect_success 'GIT_NOTES_REWRITE_REF overrides config' ' git log -1 > output && test_cmp expect output ' + +test_expect_success 'git notes copy diagnoses too many or too few parameters' ' + test_must_fail git notes copy && + test_must_fail git notes copy one two three +' + test_done |