reap in onLocal
Each onLocal call involves a new Annex state, so needs to clean up after it.
This commit is contained in:
parent
c30366e95a
commit
f84d66fa15
3 changed files with 9 additions and 1 deletions
|
@ -157,7 +157,9 @@ onLocal r a = do
|
|||
-- No need to update the branch; its data is not used
|
||||
-- for anything onLocal is used to do.
|
||||
Annex.Branch.disableUpdate
|
||||
a
|
||||
ret <- a
|
||||
liftIO $ Git.reap
|
||||
return ret
|
||||
|
||||
keyUrl :: Git.Repo -> Key -> String
|
||||
keyUrl r key = Git.repoLocation r ++ "/" ++ annexLocation key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue