t4011: remove SYMLINKS prerequisite
commit70836a6f8b71a945f074fc796c4241c2183b83a2
authorJohannes Sixt <j6t@kdbg.org>
Fri, 7 Jun 2013 20:53:34 +0000 (7 22:53 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2013 22:01:53 +0000 (7 15:01 -0700)
tree48b8d3ab56aaf9b741dcd39e098dbc18023664a8
parentbfd7804ee3d5285aa8598497995efe3f697ea7fd
t4011: remove SYMLINKS prerequisite

The part of the test that is about symbolic links in the index does not
require that the corresponding file system entry is actually a symbolic
link. Use test_ln_s_add to insert a symbolic link in the index. When
the file system does not support symbolic links, we actually have a
regular file in the worktree, which  we can update as if it were a
symbolic link. diff-index picks up the symbolic link property from the
index.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4011-diff-symlink.sh