Skip to content

Commit 68306f7

Browse files
committed
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 12580ca commit 68306f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: git-gui/git-gui.sh

+3
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
12481248
if {![info exists env(SSH_ASKPASS)]} {
12491249
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
12501250
}
1251+
if {![info exists env(GIT_ASKPASS)]} {
1252+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1253+
}
12511254
if {![info exists env(GIT_ASK_YESNO)]} {
12521255
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
12531256
}

0 commit comments

Comments
 (0)