diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-01-28 08:18:15 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-30 09:00:41 -0800 |
commit | 43722c4d9e04b3749372b13598b32cdceb1f1252 (patch) | |
tree | d0adb7e0791b95b2ce37563ec731b41eb1526136 /t | |
parent | 640d0401be5f29db8c9e914d8a19dbc9b950448d (diff) | |
download | git-43722c4d9e04b3749372b13598b32cdceb1f1252.tar.gz git-43722c4d9e04b3749372b13598b32cdceb1f1252.tar.xz |
branch: give a more helpful message on redundant arguments
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-x | t/t3200-branch.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t3200-branch.sh b/t/t3200-branch.sh index 80e6be39d..f3e0e4a38 100755 --- a/t/t3200-branch.sh +++ b/t/t3200-branch.sh @@ -73,8 +73,8 @@ test_expect_success \ test_expect_success \ 'git branch -m dumps usage' \ - 'test_expect_code 129 git branch -m 2>err && - test_i18ngrep "[Uu]sage: git branch" err' + 'test_expect_code 128 git branch -m 2>err && + test_i18ngrep "too many branches for a rename operation" err' test_expect_success \ 'git branch -m m m/m should work' \ |