[Intel-gfx] [PATCH 1/2] qf: Fix copy/paste error with the author email
Damien Lespiau
damien.lespiau at intel.com
Wed Mar 5 19:51:45 CET 2014
This needs to be useremail, not username here.
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
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
More information about the Intel-gfx
mailing list