improve smudge --clean behavior on outside work tree files

smudge: When passed a file located outside the working tree, eg by git
diff, avoid erroring out.

This commit was sponsored by Ewen McNeill on Patreon.
This commit is contained in:
Joey Hess 2018-11-15 13:04:40 -04:00
parent ac27c29490
commit 71cc9cfaa2
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 20 additions and 5 deletions

View file

@ -22,3 +22,5 @@ $ git diff ../file1.txt ../file2.txt
### What version of git-annex are you using? On what operating system?
6.20180913-1~bpo9+1 on Debian Stretch + backports.
> [[fixed|done]] --[[Joey]]