Jonathan Nieder <jrnieder@xxxxxxxxx> wrote: > Eric Wong wrote: > > That said, I'd favor an implementation that split on m{/+} and > > collapsed as Michael mentioned. > > Sounds sensible. Is canonicalize_path responsible for collapsing > runs of slashes? What should _collapse_dotdot do to > "c:/.." or "http://www.example.com/.."? It should probably just return the root path ("c:/" and "http://www.example.com/" respectively). -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html