unannex: Clean up use of git commit -a.
This was more complex than would be expected. unannex has to use git commit -a since it's removing files from git; git commit filelist won't do. Allow commands to be added to the Git queue that have no associated files, and run such commands once.
This commit is contained in:
parent
0c46cbab09
commit
ded2591124
10 changed files with 26 additions and 20 deletions
|
@ -44,5 +44,5 @@ perform file link = do
|
|||
|
||||
cleanup :: FilePath -> CommandCleanup
|
||||
cleanup file = do
|
||||
AnnexQueue.add "add" [Param "--"] file
|
||||
AnnexQueue.add "add" [Param "--"] [file]
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue