diff options
author | Joey Hess <joey@kitenet.net> | 2011-07-14 16:56:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-07-14 17:15:37 -0400 |
commit | ded259112449f592bc42207e89c82268f3795f12 (patch) | |
tree | 6a3e624445cbd063e32f3f0247a552f0ff47074a /Command/Lock.hs | |
parent | 0c46cbab09af8cc8761668885e58944d397b856d (diff) |
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.
Diffstat (limited to 'Command/Lock.hs')
-rw-r--r-- | Command/Lock.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs index e55cd9e79..d39df5f33 100644 --- a/Command/Lock.hs +++ b/Command/Lock.hs @@ -33,5 +33,5 @@ perform file = do -- Checkout from HEAD to get rid of any changes that might be -- staged in the index, and get back to the previous symlink to -- the content. - AnnexQueue.add "checkout" [Param "HEAD", Param "--"] file + AnnexQueue.add "checkout" [Param "HEAD", Param "--"] [file] next $ return True -- no cleanup needed |