t9902-completion: add tests demonstrating issues with quoted pathnames
commit5bb534a620a1e7424e80cc89c53f9e3573fba0bc
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 16 Apr 2018 22:41:05 +0000 (17 00:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Apr 2018 03:49:36 +0000 (17 12:49 +0900)
tree9ef5572ce64019e6f1a365db4fa058bcbbb3c1f4
parentfe0a9eaf31dd0c349ae4308498c33a5c3794b293
t9902-completion: add tests demonstrating issues with quoted pathnames

Completion functions see all words on the command line verbatim,
including any backslash-escapes, single and double quotes that might
be there.  Furthermore, git commands quote pathnames if they contain
certain special characters.  All these create various issues when
doing git-aware path completion.

Add a couple of failing tests to demonstrate these issues.

Later patches in this series will discuss these issues in detail as
they fix them.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh