summaryrefslogtreecommitdiff
path: root/Assistant/Threads
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-04-24 16:26:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-04-24 16:29:25 -0400
commit5244ab7656e2269676cf6296718c8e5243c5b919 (patch)
treeeff2f55cfc39592de5fca8691b591c79340932ba /Assistant/Threads
parent5c49f7ef10b8d61cfabd8ca9602d852ae5abe452 (diff)
convert PendingAddChange back to Change when an add fails
If an add failed, we should lose the KeySource, since it, presumably, differs due to a change that was made to the file. (The locked down file is already deleted.)
Diffstat (limited to 'Assistant/Threads')
-rw-r--r--Assistant/Threads/Committer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/Committer.hs b/Assistant/Threads/Committer.hs
index 8fe48bfb7..ea3f01fc5 100644
--- a/Assistant/Threads/Committer.hs
+++ b/Assistant/Threads/Committer.hs
@@ -302,7 +302,7 @@ handleAdds delayadd cs = returnWhen (null incomplete) $ do
recordedInodeCache k
failedingest change = do
- refill [change]
+ refill [retryChange change]
liftAnnex showEndFail
return Nothing