path: root/t
diff options
authorJeff King <>2011-07-16 13:03:27 (GMT)
committerJunio C Hamano <>2011-07-19 18:17:47 (GMT)
commitb4b872994b59be397519ff76354ba4002e74de48 (patch)
treefc1cb1b29ac002713eea1b1e9d6b5b67313b436a /t
parent3ea7d09461e4e1b95f6a55f04b2eb66d929464bd (diff)
git_remote_helpers: push all refs during a non-local export
When a remote helper exports to a non-local git repo, the steps are roughly: 1. fast-export into a local staging area; the set of interesting refs is defined by what is in the fast-export stream 2. git push from the staging area to the non-local repo In the second step, we should explicitly push all refs, not just matching ones. This will let us push refs that do not yet exist in the remote repo. Signed-off-by: Jeff King <> Signed-off-by: Sverre Rabbelier <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ b/t/
index ceb0010..12f471c 100755
--- a/t/
+++ b/t/
@@ -115,7 +115,7 @@ test_expect_success 'push when remote has extra refs' '
compare_refs clone master server master
-test_expect_failure 'push new branch by name' '
+test_expect_success 'push new branch by name' '
(cd clone &&
git checkout -b new-name &&
echo content >>file &&