Skip to content

Commit aeaabeb

Browse files
dschoj6t
authored andcommitted
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
1 parent e749c87 commit aeaabeb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

git-gui.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,9 @@ set argv0dir [file dirname [file normalize $::argv0]]
11301130
if {![info exists env(SSH_ASKPASS)]} {
11311131
set env(SSH_ASKPASS) [file join $argv0dir git-gui--askpass]
11321132
}
1133+
if {![info exists env(GIT_ASKPASS)]} {
1134+
set env(GIT_ASKPASS) [file join $argv0dir git-gui--askpass]
1135+
}
11331136
if {![info exists env(GIT_ASK_YESNO)]} {
11341137
set env(GIT_ASK_YESNO) [file join $argv0dir git-gui--askyesno]
11351138
}

0 commit comments

Comments
 (0)