mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
git gui: set GIT_ASKPASS=git-gui--askpass if not set yet
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
a12bace006
commit
275b90bc5b
|
@ -1177,6 +1177,9 @@ set have_tk85 [expr {[package vcompare $tk_version "8.5"] >= 0}]
|
||||||
if {![info exists env(SSH_ASKPASS)]} {
|
if {![info exists env(SSH_ASKPASS)]} {
|
||||||
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
|
set env(SSH_ASKPASS) [gitexec git-gui--askpass]
|
||||||
}
|
}
|
||||||
|
if {![info exists env(GIT_ASKPASS)]} {
|
||||||
|
set env(GIT_ASKPASS) [gitexec git-gui--askpass]
|
||||||
|
}
|
||||||
if {![info exists env(GIT_ASK_YESNO)]} {
|
if {![info exists env(GIT_ASK_YESNO)]} {
|
||||||
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
|
set env(GIT_ASK_YESNO) [gitexec git-gui--askyesno]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue