addurl --pathdepth: Fix failure when the pathdepth specified is deeper than the urls's path.

This commit is contained in:
Joey Hess 2013-07-05 12:46:38 -04:00
parent d84a000e92
commit 74ad3072e4
3 changed files with 9 additions and 0 deletions

View file

@ -189,3 +189,9 @@ All interesting transcripts are posted above with cruft removed.
# End of transcript or log.
"""]]
> The cause of this bug is using --pathdepth=3 when the url
> only has two components in its path. So, kinda GIGO, but
> let's fix this anyway. ;)
>
> [[fixed|done]] --[[Joey]]