diff options
author | 2015-02-15 14:16:48 -0400 | |
---|---|---|
committer | 2015-02-15 14:16:48 -0400 | |
commit | bd0c83bf21d6ebd646576e60bedd0444b33468c7 (patch) | |
tree | e5abcbf96b8180b16f25e166786db2208e9163df /doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn | |
parent | 3776ebfd3f94a46df0878a9cc506ed0e3ff2cbd2 (diff) | |
parent | 7644cfac07de00f1d298b01d1a9d62fc9587f295 (diff) |
Merge branch 'master' into database
Diffstat (limited to 'doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn')
-rw-r--r-- | doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn b/doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn new file mode 100644 index 000000000..a06d3aa5a --- /dev/null +++ b/doc/bugs/annex.autocommit_seems_ignored_for_new_files.mdwn @@ -0,0 +1,39 @@ +### Please describe the problem. + +When `annex.autocommit` is set to `false`, the assistant continues to commit to the repository, at least in indirect mode (direct mode not tested). I'd like it to not even `git annex add`, but it should at least not `git commit`. + +### What steps will reproduce the problem? + +I started the assistant with `git annex assistant`. Then I also opened the webapp with `git annex website`. + +Next, I ran `git config --bool --local --replace-all annex.autocommit false`. Supposedly that'll stop the assistant from committing things. + +Then I did a `echo "hello world" > test`. + +The webapp showed the file syncing, and `ls -l test` confirmed it'd been added the annex. `git status` confirmed it'd been committed as well. + +I did a `git rm test`, and then a `git status`... and it turns out the annex committed that as well. + +NOTE: My repository is in indirect mode. + +I tried `--global` instead of `--local` for the config, and that didn't make a difference. + + +### What version of git-annex are you using? On what operating system? + +5.20141125 on Debian testing, from the package. (And, thank you Joey, for all your work on Debian. You'll be missed.) + +### Please provide any additional information below. + +> The assistant does not notice changes to the +> git configuration that are made while it's already running. +> +> I have verified that setting `git config annex.autocommit true` +> and then starting the assistant behaves as documented. +> +> So will asking the webapp to restart. +> +> Retitling bug report appropriately. --[[Joey]] + +[[!meta title="git-annex assistant could watch .git/config and react to config changes on the fly"]] +[[!tag confirmed]] |