monsanto/readline-complete.el — pull request #9 by rdallasgray (2014-06-07 17:40:12+00:00)
Title: Fix non-file candidates containing path characters

This fixes an issue which manifests when completing non-file prefixes which contain slashes (e.g. "origin/master").

The present code will complete "origin/ma" as "origin/origin/master" (the candidate retains the full path); this selectively unpaths candidates if the full prefix (back to most recent whitespace) contains a slash.