assist: fix bug commiting just added file
This commit is contained in:
parent
9619f562f4
commit
fc3df2da9e
1 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@ import Command
|
||||||
import qualified Command.Sync
|
import qualified Command.Sync
|
||||||
import qualified Command.Add
|
import qualified Command.Add
|
||||||
import Annex.CheckIgnore
|
import Annex.CheckIgnore
|
||||||
|
import qualified Annex.Queue
|
||||||
|
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = withAnnexOptions [jobsOption, backendOption] $
|
cmd = withAnnexOptions [jobsOption, backendOption] $
|
||||||
|
@ -32,6 +33,8 @@ myseek o = startConcurrency transferStages $ do
|
||||||
, Command.Add.checkGitIgnoreOption = CheckGitIgnore (False)
|
, Command.Add.checkGitIgnoreOption = CheckGitIgnore (False)
|
||||||
, Command.Add.dryRunOption = DryRun False
|
, Command.Add.dryRunOption = DryRun False
|
||||||
}
|
}
|
||||||
|
-- Flush added files to index so they will be committed.
|
||||||
|
Annex.Queue.flush
|
||||||
|
|
||||||
Command.Sync.prepMerge
|
Command.Sync.prepMerge
|
||||||
Command.Sync.seek' o
|
Command.Sync.seek' o
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue