From 2e34e1855432e5344aed828790d8b0f850d6bc35 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 26 Mar 2015 13:43:30 -0400 Subject: add a comment --- Assistant/Threads/Committer.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Assistant/Threads') diff --git a/Assistant/Threads/Committer.hs b/Assistant/Threads/Committer.hs index 8cf6da2d2..8fecc1c51 100644 --- a/Assistant/Threads/Committer.hs +++ b/Assistant/Threads/Committer.hs @@ -285,7 +285,9 @@ handleAdds havelsof delayadd cs = returnWhen (null incomplete) $ do return $ r ++ added ++ otherchanges where (incomplete, otherchanges) = partition (\c -> isPendingAddChange c || isInProcessAddChange c) cs - + + -- Find files that are actually new, and not unlocked annexed + -- files. The ls-files is run on a batch of files. findnew [] = return ([], noop) findnew pending@(exemplar:_) = do (newfiles, cleanup) <- liftAnnex $ -- cgit v1.2.3