projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50ab655
)
t5150: protect backslash with backslash in shell
author
Junio C Hamano
<gitster@pobox.com>
Sat, 8 May 2010 04:29:50 +0000
(21:29 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Sat, 8 May 2010 04:30:29 +0000
(21:30 -0700)
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>
t/t5150-request-pull.sh
patch
|
blob
|
history
diff --git
a/t/t5150-request-pull.sh
b/t/t5150-request-pull.sh
index 4c7f48a8077c8f7b84cd4ef25ad530a9347ce12a..8e0425b7ac9f5949c706dedf47b25bdf2ee26fdd 100644
(file)
--- 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
}