Re: [RFC] daemon whitelist handling (Re: git pull aborts in 50% of cases)
- From
Junio C Hamano <junkio@cox.net>
- Date
- Dec 3, 2005, 21:28 UTC
- Message-ID
- <7vmzjhvpjs.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vslt9vpxo.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Trivial typo.
> - If a whitelist entry "/pub/scm" was matched against a > request "/pub/scm/git/git.git", it checks /pub/scm/git and > /pub/scm/git.git
Obviously "/pub/scm/git" and "/pub/scm/git/git.git" are the ones that are checked here. Whitelist "/pub/scm" means "/pub/scm and under, and the administrator knows /pub or /pub/scm may be symlinks pointing at places he wants them to, so do not check and complain where they point at".