Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff --stat: use a maximum of 5/8 for the filename part
[gitweb.git]
/
t
/
t8006-blame-textconv.sh
diff --git
a/t/t8006-blame-textconv.sh
b/t/t8006-blame-textconv.sh
index 4ee42f12f0af6bc7e4b072350f88988b85e40cbb..c3c22f7764adc1542579dfddf1b47a687a93607a 100755
(executable)
--- 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