standardize and improve lookup rules for external local repos
[gitweb.git] / t / t3200-branch.sh
index 2f5eada0d2801c7bc99dbbbed4d7b0ff839f25b7..bc73c2099b5069ab136a1d93aef5a8ab4a0dad1f 100755 (executable)
@@ -74,6 +74,11 @@ test_expect_success \
         git branch -d l/m &&
         git branch l'
 
+test_expect_success \
+    'git branch -m dumps usage' \
+       'test_expect_code 129 git branch -m 2>err &&
+       grep "[Uu]sage: git branch" err'
+
 test_expect_success \
     'git branch -m m m/m should work' \
        'git branch -l m &&