Skip to content

Commit d5a66ae

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

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
@@ -1292,6 +1292,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12921292
if {![info exists env(SSH_ASKPASS)]} {
12931293
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12941294
}
1295+
if {![info exists env(GIT_ASKPASS)]} {
1296+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1297+
}
12951298
if {![info exists env(GIT_ASK_YESNO)]} {
12961299
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12971300
}

0 commit comments

Comments
 (0)