This commit is contained in:
https://openid.stackexchange.com/user/3ee5cf54-f022-4a71-8666-3c2b5ee231dd 2014-11-26 03:14:45 +00:00 committed by admin
parent 5b81db216d
commit 9ed187649b

View file

@ -0,0 +1,26 @@
### 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.