2013/5/15 Junio C Hamano gits...@pobox.com:
Jiang Xin worldhello@gmail.com writes:
+/*
+ * Give path as relative to prefix.
+ *
+ * This function is a combination of path_relative (in quote.c) and
+ * relative_path (in path.c)
+ */
+static const char *path_relative(const char *in,
Jiang Xin worldhello@gmail.com writes:
These two patches enhance relative_path() in path.c, so that function
relative_path() will return real relative path, not a path strip off
the prefix.
The 2nd patch is a bit aggressive, it refactor all related functions,
remove unnecessary
2 matches
Mail list logo