git-gui: fix usage of themed widgets variable
PATCH 1/1 git-gui: fix usage of themed widgets variable
There was one forgotten global so NS was not visible to the method which resulted in an error.
--- git-gui/lib/status_bar.tcl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
git-gui/lib/status_bar.tcl +1 -0
@@ -39,6 +39,7 @@ method _oneline_pack {} { } constructor two_line {path} { + global NS set w $path set w_l $w.l set w_c $w.c
Signature · 1 line
1.7.0.m5.rc2.13.g7abfa.dirty
Quoted 17 lines · Heiko Voigt
There was one forgotten global so NS was not visible to the method which resulted in an error.
Signed-off-by Heiko Voigt <[email protected]>---
git-gui/lib/status_bar.tcl | 1 +1 files changed, 1 insertions(+), 0 deletions(-)git-gui/lib/status_bar.tcl +1
-0@@ -39,6 +39,7 @@ method _oneline_pack {} { } constructor two_line {path} { + global NS
Quoted 5 lines
set w $path
setw_l$w.l
setw_c$w.c
--
1.7.0.m5.rc2.13.g7abfa.dirty
The commit message should mention what triggered the error I think - but this patch is clearly correct.
You can have a
if you like :)
Pat Thoyts.
PATCH v2 1/1 git-gui: fix usage of themed widgets variable
There was one forgotten global so NS was not visible to the method which resulted in an error.
The error was triggered by using git gui to clone a local repository.
---
Quoted 5 lines · Pat Thoyts
Quoted 4 lines · Heiko Voigt
There was one forgotten global so NS was not visible to the method which resulted in an error.
Signed-off-by Heiko Voigt <[email protected]>
[...]
Quoted 8 lines
The commit message should mention what triggered the error I think - but this patch is clearly correct.
You can have aSigned-off-by Pat Thoyts <[email protected]>if you like :)
Thanks, taken.
git-gui/lib/status_bar.tcl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
git-gui/lib/status_bar.tcl +1 -0
@@ -39,6 +39,7 @@ method _oneline_pack {} { } constructor two_line {path} { + global NS set w $path set w_l $w.l set w_c $w.c
Signature · 1 line
1.7.0.m5.rc2.13.g7abfa.dirty