{"thread":{"id":"36185","subject":"[PATCH] Documentation/gitk: Document new config file location","startedAt":"2014-03-16T14:10:23Z","lastAt":"2014-03-17T22:19:08Z","messageCount":2,"participants":["Astril Hayato","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"236836","messageId":"1394979023-2635-1-git-send-email-astrilhayato@gmail.com","threadId":"36185","inReplyTo":null,"subject":"[PATCH] Documentation/gitk: Document new config file location","fromName":"Astril Hayato","fromEmail":"astrilhayato@gmail.com","sentAt":"2014-03-16T14:10:23Z","receivedAt":"2014-03-16T14:10:23Z","isPatch":true,"sender":{"key":"astrilhayato@gmail.com","avatar":null},"body":"User configuration file is now stored at $XDG_CONFIG_HOME/git/gitk\n\nSigned-off-by: Astril Hayato <astrilhayato@gmail.com>\n---\n Documentation/gitk.txt | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/gitk.txt b/Documentation/gitk.txt\nindex 1e9e38a..417a707 100644\n--- a/Documentation/gitk.txt\n+++ b/Documentation/gitk.txt\n@@ -166,8 +166,8 @@ gitk --max-count=100 --all \\-- Makefile::\n \n Files\n -----\n-Gitk creates the .gitk file in your $HOME directory to store preferences\n-such as display options, font, and colors.\n+User configuration and preferences are stored at $XDG_CONFIG_HOME/git/gitk or\n+$HOME/.config/git/gitk if $XDG_CONFIG_HOME is not set.\n \n History\n -------\n-- \n1.9.0\n"},{"id":"236930","messageId":"xmqqbnx4bh9f.fsf@gitster.dls.corp.google.com","threadId":"36185","inReplyTo":"1394979023-2635-1-git-send-email-astrilhayato@gmail.com","subject":"Re: [PATCH] Documentation/gitk: Document new config file location","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2014-03-17T22:19:08Z","receivedAt":"2014-03-17T22:19:08Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Astril Hayato <astrilhayato@gmail.com> writes:\n\n> User configuration file is now stored at $XDG_CONFIG_HOME/git/gitk\n>\n> Signed-off-by: Astril Hayato <astrilhayato@gmail.com>\n> ---\n>  Documentation/gitk.txt | 4 ++--\n>  1 file changed, 2 insertions(+), 2 deletions(-)\n>\n> diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt\n> index 1e9e38a..417a707 100644\n> --- a/Documentation/gitk.txt\n> +++ b/Documentation/gitk.txt\n> @@ -166,8 +166,8 @@ gitk --max-count=100 --all \\-- Makefile::\n>  \n>  Files\n>  -----\n> -Gitk creates the .gitk file in your $HOME directory to store preferences\n> -such as display options, font, and colors.\n> +User configuration and preferences are stored at $XDG_CONFIG_HOME/git/gitk or\n> +$HOME/.config/git/gitk if $XDG_CONFIG_HOME is not set.\n\nIt is a bit more complex than that, isn't it?\n\n - $XDG_CONFIG_HOME/git/gitk is used if $XDG_CONFIG_HOME is set; otherwise\n - $HOME/.gitk is used, if you already have one; otherwise\n - $HOME/.config/git/gitk is used.\n"}]}