Re: [PATCH] bash prompt: test the prompt with newline in repository path

2013-08-16 Thread Eric Sunshine
On Fri, Aug 16, 2013 at 6:36 AM, SZEDER Gábor wrote: > This subtlety really warrants its own test, especially since I didn't > explait it in the log message or in an in-code comment back then, so s/explait/explain/ > add a test to excercise the prompt with newline characters in the path > to the

Re: [PATCH] bash prompt: test the prompt with newline in repository path

2013-08-16 Thread Johannes Sixt
Am 16.08.2013 12:36, schrieb SZEDER Gábor: +repo_with_newline='repo +with +newline' + +test_expect_success 'prompt - with newline in path' ' This test must be skipped when the filesystem does not support LF in file names. Cf. the FUNNYNAMES prerequisite in t3600-rm.sh. + printf " (mas

[PATCH] bash prompt: test the prompt with newline in repository path

2013-08-16 Thread SZEDER Gábor
Newlines in the path to a git repository were not an issue for the git-specific bash prompt before commit efaa0c1532 (bash prompt: combine 'git rev-parse' executions in the main code path, 2013-06-17), because the path returned by 'git rev-parse --git-dir' was directly stored in a variable, and thi