summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-09-21 00:49:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-09-21 00:49:48 -0400
commit084aba8aaf43fed5d9c694c19ff1cd53e7b16bc8 (patch)
tree2f33fea02008cbbe6e63e76a8ff74520bce492bf /Assistant
parent240711d1aeada93172f98e1686593e4ac634450a (diff)
fix breakage caught by test suite
Can't use show-ref --tags --branches, as that omits remote branches. Instead, filter out the synced refs directly.
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Sync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Sync.hs b/Assistant/Sync.hs
index 326baff78..91ee1c219 100644
--- a/Assistant/Sync.hs
+++ b/Assistant/Sync.hs
@@ -138,7 +138,7 @@ pushToRemotes threadname now st mpushmap remotes = do
refspec b = concat
[ s
, ":"
- , "refs" </> "synced" </> fromUUID u </> s
+ , "refs/synced/" ++ fromUUID u ++ "/" ++ s
]
where s = show $ Git.Ref.base b