addurl: Refuse to overwrite any existing, non-annexed file.

This commit is contained in:
Joey Hess 2016-01-13 15:09:47 -04:00
parent b52cf5697b
commit 1d1cb16fe0
Failed to extract signature
3 changed files with 14 additions and 0 deletions

View file

@ -25,3 +25,8 @@ git-annex version: 6.20160104+gitg0cf96be-1~ndall+1
"""]
[[!meta author=yoh]]
> I don't think that the re-download is the bug. The actual problem
> is that the file is present and not an annexed file, so git-annex addurl
> should avoid overwriting it, whatever its content. [[fixed|done]]
> --[[Joey]]