Re: [PATCH 14/13] test-wildmatch: avoid Windows path mangling

2012-11-20 Thread Junio C Hamano
Johannes Sixt j.s...@viscovery.net writes: From: Nguyễn Thái Ngọc Duy pclo...@gmail.com The MSYS bash mangles arguments that begin with a forward slash when they are passed to test-wildmatch. This causes tests to fail. Avoid mangling by prepending XXX, which is removed by test-wildmatch

[PATCH 14/13] test-wildmatch: avoid Windows path mangling

2012-11-20 Thread Johannes Sixt
From: Nguyễn Thái Ngọc Duy pclo...@gmail.com The MSYS bash mangles arguments that begin with a forward slash when they are passed to test-wildmatch. This causes tests to fail. Avoid mangling by prepending XXX, which is removed by test-wildmatch before further processing. [J6t: reworded commit

[PATCH 14/13] test-wildmatch: avoid Windows path mangling

2012-11-19 Thread Johannes Sixt
From: Nguyễn Thái Ngọc Duy pclo...@gmail.com The MSYS bash mangles arguments that begin with a forward slash when they are passed to test-wildmatch. This causes tests to fail. Avoid mangling by prepending XXX, which is removed by test-wildmatch before further processing. [J6t: reworded commit

[PATCH 14/13] test-wildmatch: avoid Windows path mangling

2012-11-13 Thread Nguyễn Thái Ngọc Duy
On Windows, arguments starting with a forward slash is mangled as if it were full pathname. This causes the patterns beginning with a slash not to be passed to test-wildmatch correctly. Avoid mangling by never accepting patterns starting with a slash. Those arguments must be rewritten with a

Re: [PATCH 14/13] test-wildmatch: avoid Windows path mangling

2012-11-13 Thread Johannes Sixt
Am 13.11.2012 11:06, schrieb Nguyễn Thái Ngọc Duy: On Windows, arguments starting with a forward slash is mangled as if it were full pathname. This causes the patterns beginning with a slash not to be passed to test-wildmatch correctly. Avoid mangling by never accepting patterns starting with