From: Eric Sunshine Date: Fri, 16 Aug 2013 23:44:07 GMT Subject: Re: [PATCH] bash prompt: test the prompt with newline in repository path Message-ID: In-Reply-To: <1376649395-24363-1-git-send-email-szeder@ira.uka.de> 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 repository. Note that 'git rev-parse --git-dir' prints '.git' > or '.' when at the top of the worktree or the repository, > respectively, and only prints the full path to the repository when in > a subdirectory, hence the need for changing into a subdir in the test. > > Signed-off-by: SZEDER Gábor