From 400b03115e7ce87b7ebaf748235006937d929ad1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 22 Jun 2020 14:46:02 -0400 Subject: [PATCH] close --- doc/todo/support_disabling_git-annex___47___guard.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/todo/support_disabling_git-annex___47___guard.mdwn b/doc/todo/support_disabling_git-annex___47___guard.mdwn index 0097d3f39d..876f1300fe 100644 --- a/doc/todo/support_disabling_git-annex___47___guard.mdwn +++ b/doc/todo/support_disabling_git-annex___47___guard.mdwn @@ -1,3 +1,9 @@ It would be nice if I could configure a git repository to be guarded against git-annex. Or even a global git config option to default to not use git-annex but only in specific repositories meant to be used with git-annex. We've had a source code repository added with git-annex branches (repeatedly) and the user had problems with unwanted git-annex hooks installed in his checkout. I suspect that this was a user error, i.e. running git-annex in the wrong directory, but I would like to put guards into place by disabling git-annex by default and only allowing it for certain specific repos. + +> Seems that .noannex was sufficient. I am doubtful about the utility +> of a global git config option to prevent git-annex init from being used. +> Seems like, if you had that config set, and were using git-annex, +> you would have to override it, and once you're in the habit of overriding +> it, you may as well not have the config at all... So [[done]] --[[Joey]]