Skip to content

Commit 56af8d8

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

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
@@ -1256,6 +1256,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12561256
if {![info exists env(SSH_ASKPASS)]} {
12571257
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12581258
}
1259+
if {![info exists env(GIT_ASKPASS)]} {
1260+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1261+
}
12591262
if {![info exists env(GIT_ASK_YESNO)]} {
12601263
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12611264
}

0 commit comments

Comments
 (0)