зеркало из https://github.com/microsoft/git.git
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:
Коммит
7e521640c8
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче