cache remote.log
Unlikely to speed up any of the existing uses much, but I want to use it in a message that might be displayed many times.
This commit is contained in:
parent
ebdce707da
commit
5cfcf1f05f
19 changed files with 62 additions and 29 deletions
|
@ -80,7 +80,7 @@ getGCryptRemoteName u repoloc = do
|
|||
mname <- ifM (inRepo $ Git.Command.runBool [Param "fetch", Param tmpremote])
|
||||
( do
|
||||
void Annex.Branch.forceUpdate
|
||||
(lookupName <=< M.lookup u) <$> readRemoteLog
|
||||
(lookupName <=< M.lookup u) <$> remoteConfigMap
|
||||
, return Nothing
|
||||
)
|
||||
void $ inRepo $ Git.Remote.Remove.remove tmpremote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue