From c0e4f66eb3b12af70df4eeae8ec6aff05df2bc08 Mon Sep 17 00:00:00 2001
From: Alexander Krotov <ilabdsf@gmail.com>
Date: Mon, 7 Jan 2019 09:18:11 +0300
Subject: tools/changelog-helper.sh: use %aN instead of %an to respect .mailmap

---
 tools/changelog-helper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'tools')

diff --git a/tools/changelog-helper.sh b/tools/changelog-helper.sh
index ddd19597b..3608e96f5 100755
--- a/tools/changelog-helper.sh
+++ b/tools/changelog-helper.sh
@@ -17,7 +17,7 @@ do
             file=$x
         fi
         echo "  * $file"
-        GIT_PAGER=cat git log --pretty=format:'%n%w(78,4,6)+ %s (%an)%n%n%w(78,6,6)%b%n' $lastmod..HEAD $x
+        GIT_PAGER=cat git log --pretty=format:'%n%w(78,4,6)+ %s (%aN)%n%n%w(78,6,6)%b%n' -- "$lastmod..HEAD" "$x"
     fi
 done
 
-- 
cgit v1.2.3