The fix is a bit artificial, but mute the warning.

Fixes: 809748225c4e ("dim: Add add-missing-cc command")
Cc: Maarten Lankhorst <maarten.lankho...@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
 dim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dim b/dim
index 070b199c699b..f614533c5b09 100755
--- a/dim
+++ b/dim
@@ -350,7 +350,7 @@ function git_branch_exists # branch
 function git_committer_email
 {
        if ! committer_email=$(git config --get user.email) ; then
-               committer_email=$EMAIL
+               committer_email=${EMAIL-}
        fi
 
        echo $committer_email
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to