mirror of
https://github.com/tj/git-extras.git
synced 2026-09-11 07:56:18 -04:00
line-summary: tighten regex
This commit is contained in:
parent
7fbe00c311
commit
b9ca124980
|
|
@ -9,7 +9,7 @@ function single_file {
|
|||
while read data
|
||||
do
|
||||
if [[ $(file $data) = *text* ]]; then #
|
||||
git blame --line-porcelain $data 2>/dev/null | grep "author\ " | sed -n 's/^author //p';
|
||||
git blame --line-porcelain $data 2>/dev/null | grep "^author\ " | sed -n 's/^author //p';
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue