webapp: Fix crash adding removable drive that has an annex directory in it that is not a git repository.

This commit is contained in:
Joey Hess 2013-01-15 16:43:44 -04:00
parent 06aae8fe74
commit 13aaf69cdb
3 changed files with 9 additions and 3 deletions

View file

@ -19,3 +19,7 @@ git-annex version 3.20130107, OS X Mountain Lion. No MacPorts/homebrew/fink inst
Please provide any additional information below.
Maybe something to do with the drive name having spaces? "/Volumes/git-annex" worked fine.
> Good thought in the comment. I was able to reproduce the failure
> if the removable drive already had an "annex" directory that was not
> a git repo. I've made it handle this case. [[done]] --[[Joey]]