From: Alex Riesen Date: Mon, 24 Jul 2006 23:23:03 +0000 (+0200) Subject: Trivial path optimization test X-Git-Tag: v1.4.2-rc2~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/57c7d9a7756f9c0165d0aa003eb8a05c08cd9fae?hp=57c7d9a7756f9c0165d0aa003eb8a05c08cd9fae Trivial path optimization test Linus: get_pathspec() does turn '.' into an empty string (which is correct - git internally does _not_ ever understand the notion of "." as the current working directory), but it doesn't ever do the optimization of noticing that a pathspec that consists solely of an empty string is "equivalent" to an empty pathspec. The test is to ensure that this behaviour stays. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano ---