Skip to content

Commit fe8f12d

Browse files
committed
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 836923d commit fe8f12d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-gui/git-gui.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12891289
if {![info exists env(SSH_ASKPASS)]} {
12901290
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12911291
}
1292+
if {![info exists env(GIT_ASKPASS)]} {
1293+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1294+
}
12921295
if {![info exists env(GIT_ASK_YESNO)]} {
12931296
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12941297
}

0 commit comments

Comments
 (0)