Skip to content

Commit

Permalink
Merge branch 'bw/maint-t8006-sed-incomplete-line'
Browse files Browse the repository at this point in the history
* bw/maint-t8006-sed-incomplete-line:
  Use perl instead of sed for t8006-blame-textconv test
  • Loading branch information
gitster committed Jan 10, 2012
2 parents e04dc49 + 8b9624c commit 7e52164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t8006-blame-textconv.sh
Expand Up @@ -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

Expand Down

0 comments on commit 7e52164

Please sign in to comment.