commit | 0870ca7fabe6f25095431280e480859f7c66e8ab | [log] [tgz] |
---|---|---|
author | Junio C Hamano <junkio@cox.net> | Fri Nov 18 14:59:34 2005 -0800 |
committer | Junio C Hamano <junkio@cox.net> | Sat Nov 19 20:50:38 2005 -0800 |
tree | bd8c24b3a1b2fe52baa3c9474ea6cefec209bedf | |
parent | 54f4b87454824fedc629219620ce9b7cdcab3d27 [diff] |
Do not DWIM in userpath library under strict mode. This should force git-daemon administrator's job a bit harder because the exact paths need to be given in the whitelist, but at the same time makes the auditing easier. This moves validate_symref() from refs.c to path.c, because we need to link path.c with git-daemon for its "enter_repo()", but we do not want to link the daemon with the rest of git libraries and its requirements. Signed-off-by: Junio C Hamano <junkio@cox.net>