From 667617a1f2c39f338cbbcb7cab861472b5d7e438 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 13 Dec 2017 14:34:32 -0400 Subject: .noannex file A top-level .noannex file will prevent git-annex init from being used in a repository. This is useful for repositories that have a policy reason not to use git-annex. The content of the file will be displayed to the user who tries to run git-annex init. This also affects git annex reinit and initialization via the webapp. It does not affect automatic inits, when there's a sibling git-annex branch already. This commit was supported by the NSF-funded DataLad project. --- Test.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test.hs') diff --git a/Test.hs b/Test.hs index 41f7dea76..766a6ca96 100644 --- a/Test.hs +++ b/Test.hs @@ -1810,7 +1810,7 @@ intmpclonerepoInDirect a = intmpclonerepo $ ) where isdirect = annexeval $ do - Annex.Init.initialize Nothing Nothing + Annex.Init.initialize (Annex.Init.AutoInit False) Nothing Nothing Config.isDirect checkRepo :: Types.Annex a -> FilePath -> IO a -- cgit v1.2.3