Skip to content

Commit c03e9fb

Browse files
committed
Botched release, woops
1 parent 5e911a1 commit c03e9fb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

git-ssh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LC_ALL=C
2121
export LC_ALL
2222

2323
readonly APP_NAME="git-ssh"
24-
readonly VERSION="3.2.1"
24+
readonly VERSION="3.2.2"
2525
readonly CONFIG_VERSION=2
2626

2727
# Where our configs live

hooks/ssh-allowed-key.prepare-commit-msg

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ _get_allowed_ssh_signers() {
7272
_collect_allowed_signers() {
7373
_collected="$(cat "${_allowed_file}")"
7474

75-
# If your signer file has something like 'namespace="git"', then there is a fourth column
76-
if printf -- '%s' "${_collected}" | grep -q 'namespace=' >/dev/null 2>&1; then
75+
# If your signer file has something like 'namespaces="git"', then there is a fourth column
76+
if printf -- '%s' "${_collected}" | grep -q 'namespaces=' >/dev/null 2>&1; then
7777
printf -- '%s' "${_collected}" | awk '{ print $4 }'
7878
else
7979
printf -- '%s' "${_collected}" | awk '{ print $3 }'
@@ -100,8 +100,6 @@ main() {
100100
_allowed_signers="$(_collect_allowed_signers)"
101101
_current_keychain="$(_collect_current_keychain)"
102102

103-
echo "ALLOW: ${_allowed_signers}"
104-
105103
if [ -z "${_allowed_signers}" ]; then
106104
_elog 'No allowed signers found. Cannot commit.'
107105
return 1

0 commit comments

Comments
 (0)