save state before message

to avoid long delay after
This commit is contained in:
Joey Hess 2011-06-24 02:33:44 -04:00
parent 49d77156ac
commit 50354a4916

View file

@ -22,6 +22,7 @@ import qualified Branch
import Messages
import Utility
import Locations
import Content
olddir :: Git.Repo -> FilePath
olddir g
@ -56,6 +57,8 @@ upgrade = do
Git.run g "rm" [Param "-r", Param "-f", Param "-q", File (olddir g)]
unless bare $ gitAttributesUnWrite g
saveState
unless bare $ do
showLongNote $
"git-annex branch created\n" ++