save state before message
to avoid long delay after
This commit is contained in:
parent
49d77156ac
commit
50354a4916
1 changed files with 3 additions and 0 deletions
|
@ -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" ++
|
||||
|
|
Loading…
Reference in a new issue