Variable: magit-process-connection-type

magit-process-connection-type is a customizable variable defined in magit-process.el.

Value

t

Documentation

Connection type used for the Git process.

If nil, use pipes: this is usually more efficient, and works on Cygwin. If t, use ptys: this enables Magit to prompt for passphrases when needed.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-process.el
;;; Options

(defcustom magit-process-connection-type (not (eq system-type 'cygwin))
  "Connection type used for the Git process.

If nil, use pipes: this is usually more efficient, and works on Cygwin.
If t, use ptys: this enables Magit to prompt for passphrases when needed."
  :group 'magit-process
  :type '(choice (const :tag "Pipe" nil)
                 (const :tag "Pty" t)))