]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-add.c
add: refuse to add working tree items beyond symlinks
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Aug 2008 07:52:37 +0000 (00:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Aug 2008 06:31:23 +0000 (23:31 -0700)
commit725b06050a083474e240a2436121e0a80bb9f175
tree3831874f7cce9b6307bcf3816525f66973878eba
parent806d13b1ccdbdde4bbdfb96902791c4b7ed125f6
add: refuse to add working tree items beyond symlinks

This is the same fix for the issue of adding "sym/path" when "sym" is a
symblic link that points at a directory "dir" with "path" in it.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c
dir.c
t/t0055-beyond-symlinks.sh