On Samstag, 23. Januar 2010, Robin Rosenberg wrote: > lördagen den 23 januari 2010 14.09.29 skrev Johannes Sixt: > > The function returns either the input unmodified, or it strips also at > > least one directory component, except when base is only "/" (or "//" or > > "///"...). I said in practice, because on Windows it does not make sense > > to invoke git with (literally) > > > > git --git-dir=//server/share/repo.git --work-tree=/ ... > > > > i.e., without a drive prefix before the slash of --work-tree. > > Why not? //foo/bar/z is just as valid and useful a path as x:/z. Fortunately, make_relative_path() does not have the slightest problem with //foo/bar/z, either as value of abs (the path to make relative) or as base (the path to strip from abs). -- Hannes -- 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