From 89095b2555597f1d0492b9af611e024fb4dc172f Mon Sep 17 00:00:00 2001 From: Chris Stone Date: Tue, 4 Jul 2023 08:30:23 -0600 Subject: [PATCH] Revert "Support Git Environment Credentials" --- git-flow-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-flow-init b/git-flow-init index 3ec365a..f66031a 100644 --- a/git-flow-init +++ b/git-flow-init @@ -116,8 +116,8 @@ file= use given config file fi if git_config_bool_exists "user.useconfigonly"; then - user_email=$(git config --get user.email || echo $GIT_AUTHOR_EMAIL) - user_name=$(git config --get user.name || echo $GIT_AUTHOR_NAME) + user_email=$(git config --get user.email) + user_name=$(git config --get user.name) if [ -z "${user_email}" ] || [ -z "${user_name}" ]; then die "Configuration useconfigonly is set but no name and/or email was set" fi