only create inode sentinal file when initializing a new repo
This commit is contained in:
parent
af1da07302
commit
6f9be431e6
2 changed files with 42 additions and 19 deletions
2
Init.hs
2
Init.hs
|
@ -27,6 +27,7 @@ import Utility.Shell
|
|||
import Utility.FileMode
|
||||
import Config
|
||||
import Annex.Direct
|
||||
import Annex.Content.Direct
|
||||
import Backend
|
||||
|
||||
genDescription :: Maybe String -> Annex String
|
||||
|
@ -45,6 +46,7 @@ initialize mdescription = do
|
|||
Annex.Branch.create
|
||||
setVersion
|
||||
gitPreCommitHookWrite
|
||||
createInodeSentinalFile
|
||||
u <- getUUID
|
||||
describeUUID u =<< genDescription mdescription
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue