tweaks
This commit is contained in:
parent
0fa1d136dc
commit
128b4bd015
2 changed files with 5 additions and 7 deletions
|
@ -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 ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue