fast-export: don't handle uninteresting refs
[gitweb.git] / t / t5801-remote-helpers.sh
index 12ae2566408a07ee4d56a49908ad5d5751b460de..ece8fd5ab8523b087cbcd032100fda68a085adf1 100755 (executable)
@@ -162,4 +162,12 @@ test_expect_failure 'pushing without marks' '
        compare_refs local2 HEAD server HEAD
 '
 
+test_expect_success 'push all with existing object' '
+       (cd local &&
+       git branch dup2 master &&
+       git push origin --all
+       ) &&
+       compare_refs local dup2 server dup2
+'
+
 test_done