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.
This commit is contained in:
Joey Hess 2012-09-21 00:49:48 -04:00
parent 240711d1ae
commit 084aba8aaf
3 changed files with 13 additions and 14 deletions

View file

@ -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