[Intel-gfx] [PATCH 13/18] dim: use get_maintainers.pl in dim fixes
Daniel Vetter
daniel.vetter at ffwll.ch
Fri Oct 21 19:36:55 UTC 2016
For even more Cc! Result is sometimes a bit excessive and will
need some trimming sometimes.
v2: Don't sort, since that makes a mess of the list.
Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
dim | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dim b/dim
index 91aa99f230e7..8120d159cea8 100755
--- a/dim
+++ b/dim
@@ -1242,10 +1242,12 @@ function dim_fixes
echo "Fixes: $(dim_cite $sha1)"
+ (
git show --no-patch $sha1 | \
sed -e 's/\(Reviewed\|Acked\|Reported\|Signed\)[a-zA-Z-]*-by:/Cc:/' | \
- sed -e 's/^ C[Cc]: */Cc: /' | grep '^Cc: ' | \
- sort | uniq
+ sed -e 's/^ C[Cc]: */Cc: /' | grep '^Cc: '
+ git show $sha1 | scripts/get_maintainer.pl --email --norolestats | sed -e "s/^/Cc: /"
+ ) | awk '!x[$0]++'
local tag=$(git tag --contains $1 | grep ^v | sort -V | head -n 1)
if [[ -n "$tag" ]]; then
--
2.9.3
More information about the Intel-gfx
mailing list