summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-01-10 14:46:52 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-01-10 14:46:52 -0800
commit7e521640c80b4bb871bca7a9259621a7abb303e7 (patch)
tree7e85a4311642da1794e70e698de6426e0d69fd07
parentSync with maint (diff)
parentUse perl instead of sed for t8006-blame-textconv test (diff)
downloadtgif-7e521640c80b4bb871bca7a9259621a7abb303e7.tar.xz
Merge branch 'bw/maint-t8006-sed-incomplete-line'
* bw/maint-t8006-sed-incomplete-line: Use perl instead of sed for t8006-blame-textconv test
-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