You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overcommit causes GPG signing prompt to appear twice #372
Before installing overcommit, I was only prompted once for my GPG passphrase. And with gpg-agent running in the session, I was not prompted for my passphrase for every commit. After installing overcommit, I am either prompted twice in a row for my passphrase (when gpg-agent is not running), or once when gpg-agent is running.
Sorry for the slow response here. I can indeed reproduce this undesirable behavior.
The problem was that the stash commits created by the pre-commit hook (to save your work before running hooks) were also being signed. I've fixed this in 62132a6.
Activity
sds commentedon Jun 27, 2016
Hey @monfresh,
Sorry for the slow response here. I can indeed reproduce this undesirable behavior.
The problem was that the stash commits created by the pre-commit hook (to save your work before running hooks) were also being signed. I've fixed this in 62132a6.
Thanks for the report!
monfresh commentedon Jun 27, 2016
Thanks for fixing this! I will give the new version a try.
Support hook side effects without stashing repository changes (#939)