Merge tag 'gitgui-0.21.0' of git://repo.or.cz/git-gui
git-gui 0.21.0 * tag 'gitgui-0.21.0' of git://repo.or.cz/git-gui: (22 commits) git-gui: set version 0.21 git-gui: Mark 'All' in remote.tcl for translation git-gui i18n: Updated Bulgarian translation (565,0f,0u) git-gui: avoid persisting modified author identity git-gui: handle the encoding of Git's output correctly git-gui: unicode file name support on windows git-gui: Update Russian translation git-gui: maintain backwards compatibility for merge syntax git-gui i18n: mark string in lib/error.tcl for translation git-gui: fix incorrect use of Tcl append command git-gui i18n: mark "usage:" strings for translation git-gui i18n: internationalize use of colon punctuation git-gui: ensure the file in the diff pane is in the list of selected files git-gui: support for $FILENAMES in tool definitions git-gui: fix initial git gui message encoding git-gui/po/glossary/txt-to-pot.sh: use the $( ... ) construct for command substitution git-gui (Windows): use git-gui.exe in `Create Desktop Shortcut` git-gui: fix detection of Cygwin Amend tab ordering and text widget border and highlighting. Allow keyboard control to work in the staging widgets. ...
This commit is contained in:
@ -69,6 +69,7 @@ proc tools_populate_one {fullname} {
|
||||
proc tools_exec {fullname} {
|
||||
global repo_config env current_diff_path
|
||||
global current_branch is_detached
|
||||
global selected_paths
|
||||
|
||||
if {[is_config_true "guitool.$fullname.needsfile"]} {
|
||||
if {$current_diff_path eq {}} {
|
||||
@ -100,6 +101,7 @@ proc tools_exec {fullname} {
|
||||
|
||||
set env(GIT_GUITOOL) $fullname
|
||||
set env(FILENAME) $current_diff_path
|
||||
set env(FILENAMES) [join [array names selected_paths] \n]
|
||||
if {$is_detached} {
|
||||
set env(CUR_BRANCH) ""
|
||||
} else {
|
||||
@ -121,6 +123,7 @@ proc tools_exec {fullname} {
|
||||
|
||||
unset env(GIT_GUITOOL)
|
||||
unset env(FILENAME)
|
||||
unset env(FILENAMES)
|
||||
unset env(CUR_BRANCH)
|
||||
catch { unset env(ARGS) }
|
||||
catch { unset env(REVISION) }
|
||||
|
||||
Reference in New Issue
Block a user