Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-05-08 08:29:50 +0400
committerJunio C Hamano <gitster@pobox.com>2010-05-08 08:30:29 +0400
commit5bab69172fc20bb86b5245bd1ec41c32dae9eaa6 (patch)
tree900596e7a6c614b3818fa07602088555a8a52494 /t/t5150-request-pull.sh
parent50ab6558bf688e15048e189bdaf9174b217e1748 (diff)
t5150: protect backslash with backslash in shell
At least /bin/sh on FreeBSD 8 interprets backslash followed by newline in an unquoted here text as "empty". Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5150-request-pull.sh')
-rw-r--r--t/t5150-request-pull.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5150-request-pull.sh b/t/t5150-request-pull.sh
index 4c7f48a807..8e0425b7ac 100644
--- a/t/t5150-request-pull.sh
+++ b/t/t5150-request-pull.sh
@@ -92,7 +92,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
: diffstat
n
/ [0-9]* files changed/ {
- a\
+ a\\
DIFFSTAT
b
}
@@ -102,7 +102,7 @@ test_expect_success 'setup: two scripts for reading pull requests' '
/^[a-zA-Z]* ([0-9]*):\$/ n
/^\$/ N
/^\n[a-zA-Z]* ([0-9]*):\$/! {
- a\
+ a\\
SHORTLOG
D
}