diff options
author | Paul Mackerras <paulus@samba.org> | 2009-03-23 21:37:51 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2009-04-17 22:47:48 +1000 |
commit | 9832e4f29b82e0072f40ef73279da3cd09e4a75c (patch) | |
tree | 8f195b27631afd7df86212ca732073166e8fe671 | |
parent | 010509f2de86d14c1da26eeafffb0864269c1232 (diff) | |
download | git-9832e4f29b82e0072f40ef73279da3cd09e4a75c.tar.gz git-9832e4f29b82e0072f40ef73279da3cd09e4a75c.tar.xz |
gitk: Make .gitk a hidden file under windows
This sets the hidden attribute on the ~/.gitk file so it doesn't
appear in the windows user profile.
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-x | gitk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2519,6 +2519,9 @@ proc savestuff {w} { if {![winfo viewable .]} return catch { set f [open "~/.gitk-new" w] + if {$::tcl_platform(platform) eq {windows}} { + file attributes "~/.gitk-new" -hidden true + } puts $f [list set mainfont $mainfont] puts $f [list set textfont $textfont] puts $f [list set uifont $uifont] |