[PATCH v3] Documentation/gitk: Document new config file location

2014-03-20 Thread Astril Hayato
User config file location now complies with the XDG base directory specification Signed-off-by: Astril Hayato astrilhay...@gmail.com --- Documentation/gitk.txt | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt index

[PATCH v2] Documentation/gitk: Document new config file location

2014-03-18 Thread Astril Hayato
User config file location now complies with XDG base directory specification Signed-off-by: Astril Hayato astrilhay...@gmail.com --- Documentation/gitk.txt | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt index 1e9e38a

[PATCH] Documentation/gitk: Document new config file location

2014-03-16 Thread Astril Hayato
User configuration file is now stored at $XDG_CONFIG_HOME/git/gitk Signed-off-by: Astril Hayato astrilhay...@gmail.com --- Documentation/gitk.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt index 1e9e38a..417a707 100644

Re: [PATCH] gitk: Comply with XDG base directory specification

2014-01-21 Thread Astril Hayato
On Tue, Jan 21, 2014 at 11:10 AM, Paul Mackerras pau...@samba.org wrote: +if {![file exists $config_file]} { + if {![file exists [file dirname $config_file]]} { + file mkdir [file dirname $config_file] + } + # for backward compatability use the old config file if it

[PATCH v2] gitk: Comply with XDG base directory specification

2014-01-21 Thread Astril Hayato
. Signed-off-by: Astril Hayato astrilhay...@gmail.com --- gitk | 35 ++- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/gitk b/gitk index 33c3a6c..d592d7e 100755 --- a/gitk +++ b/gitk @@ -2761,14 +2761,17 @@ proc savestuff {w} { global

[PATCH] gitk: Comply with XDG base directory specification

2013-12-13 Thread Astril Hayato
. Signed-off-by: Astril Hayato astrilhay...@gmail.com --- gitk | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/gitk b/gitk index 33c3a6c..34dd4a6 100755 --- a/gitk +++ b/gitk @@ -2761,14 +2761,17 @@ proc savestuff {w} { global linkfgcolor