git-annex/doc/bugs/annex.numcopies_not_overriden_by_--numcopies_option.mdwn

17 lines
548 B
Text
Raw Normal View History

2013-07-09 15:50:51 +00:00
### 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?
2013-07-09 15:52:24 +00:00
2013-07-09 15:50:51 +00:00
$ echo '* annex.numcopies=2' > .gitattributes
2013-07-09 15:52:24 +00:00
2013-07-09 15:50:51 +00:00
$ git annex drop --numcopies=1 somefile.txt
2013-07-09 15:52:24 +00:00
2013-07-09 15:50:51 +00:00
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]]