Skip to main content

commit_signing_needs_tty

Function commit_signing_needs_tty 

Source
pub fn commit_signing_needs_tty(dir: &Path) -> bool
Expand description

Whether committing in dir would sign with a terminal pinentry, which cannot run under Vix’s raw-mode screen (T570): commit.gpgsign is true, the signing format is GPG, and the user’s gpg-agent.conf selects a curses/tty pinentry.