mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
author_line_count.sh: Move user arguments last
Moving the "$@" last in the invocation of git log enables line stats restricted to specific files or directories, e.g., ./rtc_tools/author_line_count.sh ... -- modules/foo Bug: None Change-Id: I6dc17a10f2b321beae452f5e2cc74bcba2f8aaf3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130491 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27381}
This commit is contained in:
parent
1c41be6e05
commit
ef139908ee
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
# This script counts net line count contributions by author. Besides
|
# This script counts net line count contributions by author. Besides
|
||||||
# amusement, the value of these stats are of course questionable.
|
# amusement, the value of these stats are of course questionable.
|
||||||
|
|
||||||
git log "$@" --pretty=format:%ae --shortstat \
|
git log --pretty=format:%ae --shortstat "$@" \
|
||||||
| sed '/^ /s/,/\n/g' \
|
| sed '/^ /s/,/\n/g' \
|
||||||
| gawk '
|
| gawk '
|
||||||
/^[^ ]/ {
|
/^[^ ]/ {
|
||||||
|
|
Loading…
Reference in a new issue