[PATCH 1/2] qf: Fix copy/paste error with the author email

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

 



This needs to be useremail, not username here.

Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>
---
 qf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qf b/qf
index 742e704..057ae08 100755
--- a/qf
+++ b/qf
@@ -298,8 +298,8 @@ case "$1" in
 		username=${username+`git config user.name || true`}
 		username=${username+`getent passwd $USER | cut -d: -f 5 | cut -d, -f 1 || true`}
 		useremail=$GIT_COMMMITTER_EMAIL
-		useremail=${username+`git config user.email || true`}
-		useremail=${username+$EMAIL}
+		useremail=${useremail+`git config user.email || true`}
+		useremail=${useremail+$EMAIL}
 
 		if [[ -z $useremail || -z $username ]] ; then
 			echo User name/email not found, please fix your config
-- 
1.8.3.1

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux