From fe1b186a5b1d19bb5095ddec853231fb7d47898a Mon Sep 17 00:00:00 2001 From: girst Date: Thu, 18 Nov 2021 15:23:51 +0100 Subject: [PATCH] fix 'ambiguous option' error --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 2e1f287..ff38579 100755 --- a/release.sh +++ b/release.sh @@ -42,9 +42,9 @@ major) die "no." ;; esac # make sure my idiosyncratic development setup is present -test "$(git config --show user.name | cut -f2)" = "$git_user" || +test "$(git config --show-origin user.name | cut -f2)" = "$git_user" || die "username not set to $git_user, aborting." -test "$(git config --show user.email | cut -f2)" = "$git_email" || +test "$(git config --show-origin user.email | cut -f2)" = "$git_email" || die "email not set to $git_email, aborting." git remote show | grep -q "${devel%%/*}" || die "there is no development remote, aborting." -- 2.39.3