fix exporting when the file is in the top of the repo

takeDirectory "foo" is ".", and that will confuse webdav, so only
use that code path when there is a subdirectory.
This commit is contained in:
Joey Hess 2021-03-16 14:17:29 -04:00
parent 4a2d148599
commit 3337f7c272
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 6"""
date="2021-03-16T18:13:45Z"
content="""
I think I see how my change broke exporting to the top directory of the
repo. I've committed a fix for that.
"""]]