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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 16, 2013 at 6:36 AM, SZEDER Gábor <szeder@xxxxxxxxxx> 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 <szeder@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]