git-summary: remove stray \ in grep call (#1010)

This commit is contained in:
Kurban Mallachiev 2022-12-19 14:02:29 +04:00 committed by GitHub
parent 7c4152ce83
commit 4fff03f429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ single_file() {
while read -r data
do
if [[ $(file "$data") = *text* ]]; then
git blame --line-porcelain "$data" 2>/dev/null | grep "^author\ " | LC_ALL=C sed -n 's/^author //p';
git blame --line-porcelain "$data" 2>/dev/null | grep "^author " | LC_ALL=C sed -n 's/^author //p';
fi
done
}