read-tree: add tests for confusing paths like ".." and ".git"
authorJeff King <peff@peff.net>
Mon, 24 Nov 2014 18:37:56 +0000 (13:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Dec 2014 19:00:37 +0000 (11:00 -0800)
We should prevent nonsense paths from entering the index in
the first place, as they can cause confusing results if they
are ever checked out into the working tree. We already do
so, but we never tested it.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found