Merge branch 'bw/maint-t8006-sed-incomplete-line'

* bw/maint-t8006-sed-incomplete-line:
  Use perl instead of sed for t8006-blame-textconv test
This commit is contained in:
Junio C Hamano 2012-01-10 14:46:52 -08:00
commit 7e521640c8

View File

@ -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