assist: fix bug committing just added file when -J is used
Need to wait for worker threads adding files before flushing the queue.
This commit is contained in:
parent
fc3df2da9e
commit
908b9687cc
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ myseek o = startConcurrency transferStages $ do
|
|||
, Command.Add.checkGitIgnoreOption = CheckGitIgnore (False)
|
||||
, Command.Add.dryRunOption = DryRun False
|
||||
}
|
||||
waitForAllRunningCommandActions
|
||||
-- Flush added files to index so they will be committed.
|
||||
Annex.Queue.flush
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue