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 815d82f commit d5a89f7Copy full SHA for d5a89f7
pure.zsh
@@ -324,6 +324,13 @@ prompt_pure_async_git_fetch() {
324
# Set SSH `BachMode` to disable all interactive SSH password prompting.
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
330
+
331
+ # Tell the child process to not expect any input from this zpty.
332
+ exec /dev/null > $TTY
333
334
local -a remote
335
if ((only_upstream)); then
336
local ref
0 commit comments