commit changes to git-annex branch on shutdown
This commit is contained in:
parent
8166facaef
commit
17a09fccad
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ import Control.Monad (when)
|
|||
import qualified Annex
|
||||
import qualified AnnexQueue
|
||||
import qualified GitRepo as Git
|
||||
import qualified Branch
|
||||
import Types
|
||||
import Command
|
||||
import BackendList
|
||||
|
@ -102,6 +103,7 @@ startup = do
|
|||
{- Cleanup actions. -}
|
||||
shutdown :: Annex Bool
|
||||
shutdown = do
|
||||
Branch.commit "update"
|
||||
AnnexQueue.flush False
|
||||
|
||||
liftIO $ Git.reap
|
||||
|
|
Loading…
Reference in a new issue