summaryrefslogtreecommitdiff
path: root/Annex/UUID.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-11-19 15:57:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-11-19 15:57:08 -0400
commit128b4bd01509bcdcdd6120a29d24527cff82d3ab (patch)
treeca961bb70d2bc5ebf67a71c9486c54dde3e75b33 /Annex/UUID.hs
parent0fa1d136dc74828eab820d7c74c811d707cc746a (diff)
tweaks
Diffstat (limited to 'Annex/UUID.hs')
-rw-r--r--Annex/UUID.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/UUID.hs b/Annex/UUID.hs
index 3b64bf3d8..e510a7ccd 100644
--- a/Annex/UUID.hs
+++ b/Annex/UUID.hs
@@ -59,7 +59,7 @@ getRepoUUID r = do
updatecache u = do
g <- gitRepo
when (g /= r) $ storeUUID cachekey u
- cachekey = "remote." ++ fromMaybe "" (Git.repoRemoteName r) ++ ".annex-uuid"
+ cachekey = remoteConfig r "uuid"
getUncachedUUID :: Git.Repo -> UUID
getUncachedUUID = toUUID . Git.configGet configkey ""