aboutsummaryrefslogtreecommitdiff
path: root/Remote/Git.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Git.hs')
-rw-r--r--Remote/Git.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index c1423bef7..a45845510 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -54,13 +54,15 @@ gen r u _ = do
(False, "") -> tryGitConfigRead r
_ -> return r
+ u' <- getUUID r'
+
let defcst = if not $ Git.repoIsUrl r
then cheapRemoteCost
else expensiveRemoteCost
cst <- remoteCost r' defcst
return $ Remote {
- uuid = u,
+ uuid = u',
cost = cst,
name = Git.repoDescribe r',
storeKey = copyToRemote r',