This commit is contained in:
Joey Hess 2011-11-19 15:57:08 -04:00
parent 0fa1d136dc
commit 128b4bd015
2 changed files with 5 additions and 7 deletions

View file

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