This is much nicer than chrooting or having a symlink hanging
under /. Another possibility would be to have ~git/ a symlink
to such directory and make it a whitelist -- then you do not
need this patch. The URL would be "git://ho.st/~git/xxx" which
is short-and-sweet.
We probably would want to verify base_path exists and is without
excess trailing slash when parsing arguments, if we are going to
do this.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Re: [PATCH] git-daemon --base-path, Junio C Hamano, (Thu Dec 22, 9:19 pm)