diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-01-10 14:46:52 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-10 14:46:52 -0800 |
commit | 7e521640c80b4bb871bca7a9259621a7abb303e7 (patch) | |
tree | 7e85a4311642da1794e70e698de6426e0d69fd07 | |
parent | Sync with maint (diff) | |
parent | Use perl instead of sed for t8006-blame-textconv test (diff) | |
download | tgif-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-x | t/t8006-blame-textconv.sh | 2 |
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 |