From 2d33c62965dc30ff62babba25d18547a5aa89e8c Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Wed, 23 Oct 2019 17:57:03 +0000 Subject: [PATCH] Added a comment: configuring git add behavior --- ...nt_4_aa12a81ca2015945f548d029b720ff33._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings/comment_4_aa12a81ca2015945f548d029b720ff33._comment diff --git a/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings/comment_4_aa12a81ca2015945f548d029b720ff33._comment b/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings/comment_4_aa12a81ca2015945f548d029b720ff33._comment new file mode 100644 index 0000000000..d7e1e007f2 --- /dev/null +++ b/doc/todo/separate_annex.largefiles.git-add_and_annex.largefiles.git-annex-add_settings/comment_4_aa12a81ca2015945f548d029b720ff33._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="Ilya_Shlyakhter" + avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0" + subject="configuring git add behavior" + date="2019-10-23T17:57:03Z" + content=""" +Or, could add a variable `annex.git-add-new-largefiles-action`, which determines what `git add` does with files that match `annex.largefiles` but were not already annexed. The possible values would be + + * `git` (default): add to git + * `git-warn`: add to git but print a warning + * `error`: exit with an error code + * `annex`: add to the annex + * `annex-warn`: add to the annex but print a warning + * `annex-autolock`: add to the annex but mark them to be [[auto-locked|todo/auto-lock_files_after_one_edit]] when committed. +"""]]