From 159ba92ea147ad322f90a1200e6656930ceb6a1f Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Thu, 10 Oct 2019 18:29:03 +0000 Subject: [PATCH] added todo for separate annex.largefiles.git-add and annex.largefiles.git-annex-add settings --- ....git-add_and_annex.largefiles.git-annex-add_settings.mdwn | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings.mdwn diff --git a/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings.mdwn b/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings.mdwn new file mode 100644 index 0000000000..e84b99e688 --- /dev/null +++ b/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings.mdwn @@ -0,0 +1,5 @@ +Could there be separate `annex.git-add.largefiles` and `annex.git-annex-add.largefiles` settings, applying to files added via `git add` and `git annex add`, respectively? If not given, their value defaults to the value of `annex.largefiles`. + +Reason: to prevent `git add` from inadvertently adding annexed files in unlocked form, I set `* annex.largefiles=nothing` at repo root; but then, `git annex add` won't annex anything either, unless specifically asked. I want to use `git add` to add files to git only (since it can't add them to git-annex in locked form), and to use `git annex add` to add files to either git or annex based on `annex.git-annex-add.largefiles` setting. + +Related: [[forum/lets_discuss_git_add_behavior]]