Skip to content

Commit a8ceba9

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

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
@@ -1116,6 +1116,9 @@ citool {
11161116
if {![info exists env(SSH_ASKPASS)]} {
11171117
set env(SSH_ASKPASS) [file join [git --exec-path] git-gui--askpass]
11181118
}
1119+
if {![info exists env(GIT_ASKPASS)]} {
1120+
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
1121+
}
11191122
if {![info exists env(GIT_ASK_YESNO)]} {
11201123
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
11211124
}

0 commit comments

Comments
 (0)