Skip to content

Commit ac3a1f1

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-gui/git-gui.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12301230
if {![info exists env(SSH_ASKPASS)]} {
12311231
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12321232
}
1233+
if {![info exists env(GIT_ASKPASS)]} {
1234+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1235+
}
12331236
if {![info exists env(GIT_ASK_YESNO)]} {
12341237
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12351238
}

0 commit comments

Comments
 (0)