From: Johannes Sixt <j6t@kdbg.org>
To: "SZEDER Gábor" <szeder@ira.uka.de>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] bash prompt: test the prompt with newline in repository path
Date: Fri, 16 Aug 2013 21:16:17 +0200 [thread overview]
Message-ID: <520E7A81.5080302@kdbg.org> (raw)
In-Reply-To: <1376649395-24363-1-git-send-email-szeder@ira.uka.de>
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 " (master)" >expected &&
> + git init "$repo_with_newline" &&
> + test_when_finished "rm -rf \"$repo_with_newline\"" &&
> + mkdir "$repo_with_newline"/subdir &&
> + (
> + cd "$repo_with_newline/subdir" &&
> + __git_ps1 >"$actual"
> + ) &&
> + test_cmp expected "$actual"
> +'
-- Hannes
next prev parent reply other threads:[~2013-08-16 22:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-16 10:36 [PATCH] bash prompt: test the prompt with newline in repository path SZEDER Gábor
2013-08-16 19:16 ` Johannes Sixt [this message]
2013-08-17 9:01 ` [PATCH v2] " SZEDER Gábor
2013-08-16 23:44 ` [PATCH] " Eric Sunshine
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=520E7A81.5080302@kdbg.org \
--to=j6t@kdbg.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=szeder@ira.uka.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).