This commit is contained in:
https://www.google.com/accounts/o8/id?id=AItOawnpdM9F8VbtQ_H5PaPMpGSxPe_d5L1eJ6w 2013-07-09 15:52:24 +00:00 committed by admin
parent 9785d77e03
commit deaf471eb7

View file

@ -2,8 +2,11 @@
Using "--numcopies=N" on the command line doesn't overrides (as advertised) the annex.numcopies variable when set via .gitattributes. 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? ### What steps will reproduce the problem?
$ echo '* annex.numcopies=2' > .gitattributes $ echo '* annex.numcopies=2' > .gitattributes
$ git annex drop --numcopies=1 somefile.txt $ git annex drop --numcopies=1 somefile.txt
Second line fails if only one other copy exists. Second line fails if only one other copy exists.
### What version of git-annex are you using? On what operating system? ### What version of git-annex are you using? On what operating system?