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:
		@ -10,7 +10,7 @@ find_blame() {
 | 
				
			|||||||
cat >helper <<'EOF'
 | 
					cat >helper <<'EOF'
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
grep -q '^bin: ' "$1" || { echo "E: $1 is not \"binary\" file" 1>&2; exit 1; }
 | 
					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
 | 
					EOF
 | 
				
			||||||
chmod +x helper
 | 
					chmod +x helper
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user