diff options
author | H. Peter Anvin <hpa@zytor.com> | 2005-10-18 18:26:52 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-18 18:26:52 -0700 |
commit | 3e04c62daab0a8481f907c30414ed246f284a1d9 (patch) | |
tree | 8dde448c56556960a665ca2a8d58458e3d318c95 /git-commit.sh | |
parent | Remove unused include. (diff) | |
download | tgif-3e04c62daab0a8481f907c30414ed246f284a1d9.tar.xz |
revised^2: git-daemon extra paranoia, and path DWIM
This patch adds some extra paranoia to the git-daemon filename test. In
particular, it now rejects pathnames containing //; it also adds a
redundant test for pathname absoluteness (belts and suspenders.)
A single / at the end of the path is still permitted, however, and the
.git and /.git append DWIM stuff is now handled in an integrated manner,
which means the resulting path will always be subjected to pathname checks.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-commit.sh')
0 files changed, 0 insertions, 0 deletions