gitk: Comply with XDG base directory specification
commit8f86339858c1325645f8eaf6950dfd9d74cc9897
authorAstril Hayato <astrilhayato@gmail.com>
Tue, 21 Jan 2014 19:10:16 +0000 (21 19:10 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 22 Jan 2014 11:05:32 +0000 (22 22:05 +1100)
treecf7d1daf04115bf8bc5cff777392ad602f187b71
parent786f15c849916513531862a5f3fb45c0323b61f6
gitk: Comply with XDG base directory specification

Write the gitk config data to $XDG_CONFIG_HOME/git/gitk ($HOME/.config/git/gitk
by default) in line with the XDG specification. This makes it consistent with
git which also follows the spec.

If $HOME/.gitk already exists use that for backward compatibility, so only new
installations are affected.

Signed-off-by: Astril Hayato <astrilhayato@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk