diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-13 14:34:32 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-13 14:34:32 -0400 |
commit | 667617a1f2c39f338cbbcb7cab861472b5d7e438 (patch) | |
tree | 98acb4bc30370126c803936f7d374fa8093d84e8 /Test.hs | |
parent | 859c133f46931fc0f8e2d2b5a027d33dab2cec75 (diff) |
.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.
Diffstat (limited to 'Test.hs')
-rw-r--r-- | Test.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |