Skip to content

Commit da01fd0

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

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
@@ -1244,6 +1244,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12441244
if {![info exists env(SSH_ASKPASS)]} {
12451245
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12461246
}
1247+
if {![info exists env(GIT_ASKPASS)]} {
1248+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1249+
}
12471250
if {![info exists env(GIT_ASK_YESNO)]} {
12481251
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12491252
}

0 commit comments

Comments
 (0)