From 954d87fb76d8c01bdd64ffd57acb2d6a62d33574 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 20 Feb 2013 13:55:53 -0400 Subject: only create inode sentinal file when initializing a new repo --- Init.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Init.hs') diff --git a/Init.hs b/Init.hs index 3f4a9d385..2c1bf4ef9 100644 --- a/Init.hs +++ b/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 -- cgit v1.2.3