tpope/vim-pathogen — pull request #47 by mattn (2011-10-19 11:38:35+00:00)
Title: use expand() to expand PATHs for complete.

Hi.

Findcomplete is splitting `&rtp` like following. If &rtp is set like following.
`rtp=/foo/bar,/bar/baz,~/bin`, it break result of glob() that is fullpath. Then,

```vim
call map(matches,'v:val[strlen(path)+1:-1]')
```

This part break the candidates.