summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-01-10 14:46:52 -0800
committerJunio C Hamano <gitster@pobox.com>2012-01-10 14:46:52 -0800
commit7e521640c80b4bb871bca7a9259621a7abb303e7 (patch)
tree7e85a4311642da1794e70e698de6426e0d69fd07 /t
parente04dc492ac1206c7a7e624c09344081263af0e66 (diff)
parent8b9624c3741f3449510285fec21106bfee5d4942 (diff)
downloadgit-7e521640c80b4bb871bca7a9259621a7abb303e7.tar.gz
Merge branch 'bw/maint-t8006-sed-incomplete-line'
* bw/maint-t8006-sed-incomplete-line: Use perl instead of sed for t8006-blame-textconv test
Diffstat (limited to 't')
-rwxr-xr-xt/t8006-blame-textconv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t8006-blame-textconv.sh b/t/t8006-blame-textconv.sh
index 4ee42f12f0..c3c22f7764 100755
--- a/t/t8006-blame-textconv.sh
+++ b/t/t8006-blame-textconv.sh
@@ -10,7 +10,7 @@ find_blame() {
cat >helper <<'EOF'
#!/bin/sh
grep -q '^bin: ' "$1" || { echo "E: $1 is not \"binary\" file" 1>&2; exit 1; }
-sed 's/^bin: /converted: /' "$1"
+perl -p -e 's/^bin: /converted: /' "$1"
EOF
chmod +x helper