summaryrefslogtreecommitdiff
path: root/doc/bugs/annex.numcopies_not_overriden_by_--numcopies_option.mdwn
blob: ba63897ba136317ab42777a9f472b5a96b5394f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### Please describe the problem.
Using "--numcopies=N" on the command line doesn't overrides (as advertised) the annex.numcopies variable when set via .gitattributes. 

### What steps will reproduce the problem?

$ echo '* annex.numcopies=2' > .gitattributes

$ git annex drop --numcopies=1 somefile.txt

Second line fails if only one other copy exists.

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

> I don't think this was ever handled correctly.
> I've fixed it now. [[done]] --[[Joey]]