From f89f5e4856c828206681fe7ab9723c3799ad36b2 Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 16 Jun 2014 15:10:09 +0530 Subject: [PATCH] Display git config details in log file --- bin/install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index e2c23223..8e69d72d 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -195,7 +195,8 @@ if [ -z "$GIT_USER_NAME" ]; then then GIT_USER_NAME=$(whoami) fi - git config --global user.name "$GIT_USER_NAME" &>> $EE_INSTALL_LOG + git config --global user.name "$GIT_USER_NAME" + echo "git config user.name = $(git config user.name)" &>> $EE_INSTALL_LOG fi if [ -z "$GIT_USER_EMAIL" ];then @@ -205,7 +206,8 @@ if [ -z "$GIT_USER_EMAIL" ];then then GIT_USER_EMAIL=$(whoami)@$(hostname -f) fi - git config --global user.email $GIT_USER_EMAIL &>> $EE_INSTALL_LOG + git config --global user.email $GIT_USER_EMAIL + echo "git config user.email = $(git config user.email)" &>> $EE_INSTALL_LOG fi # Enable EasyEngine (ee) auto completion