mirror of
https://github.com/git/git.git
synced 2024-11-25 02:44:48 +08:00
1eb0545cce
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQCVAwUAVTI85mB90JXwhOSJAQIAwAP+Lcm1TuAKXdiCMcYJFLPHhSvHJJRHPiN8 ydBIRP5UO6BJrmbo+w9tx3qAda4TS/crqRwSnRa5cXOWB+aDkuH8zm4IfkQKXIjI qG4Q2t53q8vLBtRd6Y4uNlDQ04mh/J64E9tJoCaIzMj2m6W/Xizo2zslnOfo6F2Z Z2rJhBMe1PY= =4pD7 -----END PGP SIGNATURE----- Merge tag 'gitgui-0.20.0' of http://repo.or.cz/r/git-gui git-gui 0.20.0 * tag 'gitgui-0.20.0' of http://repo.or.cz/r/git-gui: git-gui: set version 0.20 git-gui: sv.po: Update Swedish translation (547t0f0u) git-gui i18n: Updated Bulgarian translation (547t,0f,0u) git-gui: Makes chooser set 'gitdir' to the resolved path git-gui: Fixes chooser not accepting gitfiles git-gui: reinstate support for Tcl 8.4 git-gui: fix problem with gui.maxfilesdisplayed git-gui: fix verbose loading when git path contains spaces. git-gui/gitk: Do not depend on Cygwin's "kill" command on Windows git-gui: add configurable tab size to the diff view git-gui: Make git-gui lib dir configurable at runime git-gui i18n: Updated Bulgarian translation (520t,0f,0u) L10n: vi.po (543t): Init translation for Vietnamese git-gui: align the new recursive checkbox with the radiobuttons. git-gui: Add a 'recursive' checkbox in the clone menu.
30 lines
706 B
Tcl
30 lines
706 B
Tcl
set gitexecdir {@@gitexecdir@@}
|
|
if { [info exists ::env(GIT_GUI_LIB_DIR) ] } {
|
|
set gitguilib $::env(GIT_GUI_LIB_DIR)
|
|
} else {
|
|
set gitguilib {@@GITGUI_LIBDIR@@}
|
|
}
|
|
|
|
set env(PATH) "$gitexecdir:$env(PATH)"
|
|
|
|
if {[string first -psn [lindex $argv 0]] == 0} {
|
|
lset argv 0 [file join $gitexecdir git-gui]
|
|
}
|
|
|
|
if {[file tail [lindex $argv 0]] eq {gitk}} {
|
|
set argv0 [lindex $argv 0]
|
|
set AppMain_source $argv0
|
|
} else {
|
|
set argv0 [file join $gitexecdir [file tail [lindex $argv 0]]]
|
|
set AppMain_source [file join $gitguilib git-gui.tcl]
|
|
if {[info exists env(PWD)]} {
|
|
cd $env(PWD)
|
|
} elseif {[pwd] eq {/}} {
|
|
cd $env(HOME)
|
|
}
|
|
}
|
|
|
|
unset gitexecdir gitguilib
|
|
set argv [lrange $argv 1 end]
|
|
source $AppMain_source
|