diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-08-27 02:29:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-08-27 02:29:26 +0200 |
commit | e92ea62425fb89713bc47241af29a79f5f191cc6 (patch) | |
tree | a027f4d97331623b3a4d99eeea5e14557af990e3 /git-gui/lib/class.tcl | |
parent | When nothing to git-commit, honor the git-status color setting. (diff) | |
parent | git-gui: Correct 'git gui blame' in a subdirectory (diff) | |
download | git-e92ea62425fb89713bc47241af29a79f5f191cc6.tar.xz git-e92ea62425fb89713bc47241af29a79f5f191cc6.zip |
Merge branch 'master' of git://repo.or.cz/git-gui
* 'master' of git://repo.or.cz/git-gui:
git-gui: Correct 'git gui blame' in a subdirectory
git-gui: Do not offer to stage three-way diff hunks into the index
git-gui: Refactor diff pane popup support for future improvements
git-gui: Fix "unoptimized loading" to not cause git-gui to crash
git-gui: Paper bag fix "Stage Hunk For Commit" in diff context menu
git-gui: Allow git-merge to use branch names in conflict markers
git-gui: Fix window manager problems on ion3
Diffstat (limited to 'git-gui/lib/class.tcl')
-rw-r--r-- | git-gui/lib/class.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-gui/lib/class.tcl b/git-gui/lib/class.tcl index 24e8cecea4..dc2141192a 100644 --- a/git-gui/lib/class.tcl +++ b/git-gui/lib/class.tcl @@ -148,11 +148,12 @@ proc make_toplevel {t w args} { } } - if {[winfo ismapped .]} { + if {$::root_exists || [winfo ismapped .]} { regsub -all {::} $this {__} w set top .$w set pfx $top toplevel $top + set ::root_exists 1 } else { set top . set pfx {} |