Subject: [PATCH 2/4] git gui: set GIT_ASKPASS=git-gui--askpass if not set yet

From: "Johannes Schindelin via GitGitGadget" <[email-masked]>
Date: Thu, 26 Sep 2019 08:29:57 -0700 (PDT)

From: Johannes Schindelin <[email-masked]>

Signed-off-by: Johannes Schindelin <[email-masked]>
---
 git-gui.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/git-gui.sh b/git-gui.sh
index 76d8139b8d..66f046a0c7 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -1248,6 +1248,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
 if {![info exists env(SSH_ASKPASS)]} {
 	set env(SSH_ASKPASS) [gitexec git-gui--askpass]
 }
+if {![info exists env(GIT_ASKPASS)]} {
+	set env(GIT_ASKPASS) [gitexec git-gui--askpass]
+}
 if {![info exists env(GIT_ASK_YESNO)]} {
 	set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
 }
-- 
gitgitgadget