We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1ae401 commit a2a03a8Copy full SHA for a2a03a8
pure.zsh
@@ -325,8 +325,10 @@ prompt_pure_async_git_fetch() {
325
export GIT_SSH_COMMAND="${GIT_SSH_COMMAND:-"ssh"} -o BatchMode=yes"
326
327
# If gpg-agent is set to handle SSH keys for `git fetch`, make
328
- # sure it uses this zpty instead of corrupting the parent TTY.
329
- export GPG_TTY=$TTY
+ # sure it doesn't corrupt the parent TTY.
+ # Setting an empty GPG_TTY forces pinentry-curses to close immediately rather
330
+ # than stall indefinitely waiting for user input.
331
+ export GPG_TTY=
332
333
local -a remote
334
if ((only_upstream)); then
0 commit comments