Skip to content

Commit

Permalink
Fix #17 git config reading of commit.gpgsign
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoHood committed Mar 14, 2018
1 parent 14c0ffb commit 0f66ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpgit.sh
Expand Up @@ -423,7 +423,7 @@ fi

# Enable commit signing
msg2 "3.2 Enable commit signing"
if [[ "$(git config --global commit.gpgsign || true)" != "true" ]]; then
if [[ "$(git config commit.gpgsign || true)" != "true" ]]; then
# Enable global commit signing. Can be still disabled locally.
plain "Enabling global commit signing."
git config --global commit.gpgsign true
Expand Down

0 comments on commit 0f66ad9

Please sign in to comment.