summaryrefslogtreecommitdiff
path: root/doc/bugs/__34__import__34___generates_a_commit_even_with_autocommit__61__false.mdwn
blob: 69e36595e674ae970a0670f3d176b5f6f29e43e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
### Please describe the problem.

`git annex import` generates a commit in the `git-annex` branch even if `autocommit` has been disabled.

It happens in direct mode, I haven't tested with indirect mode.

### What steps will reproduce the problem?

    git config --global annex.autocommit false
    git annex direct
    git annex import --force ~/Documents/*.pdf

    git log git-annex # see the newly created commit

### What version of git-annex are you using? On what operating system?

git-annex 5.20140421 from the Ubuntu PPA.

> annex.autocommit has nothing to do with commits to the git-annex
> branch. You want `git config annex.alwayscommit false`
> 
> [[done]] --[[Joey]]