[PATCH 13/18] dim: use get_maintainers.pl in dim fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
---
 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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux