{"thread":{"id":"36249","subject":"[PATCH v3] Documentation/gitk: Document new config file location","startedAt":"2014-03-20T13:33:49Z","lastAt":"2014-03-20T18:01:00Z","messageCount":2,"participants":["Astril Hayato","Junio C Hamano"],"isPatch":true,"patchVersion":3,"patchTotal":null},"messages":[{"id":"237172","messageId":"1395322429-1501-1-git-send-email-astrilhayato@gmail.com","threadId":"36249","inReplyTo":null,"subject":"[PATCH v3] Documentation/gitk: Document new config file location","fromName":"Astril Hayato","fromEmail":"astrilhayato@gmail.com","sentAt":"2014-03-20T13:33:49Z","receivedAt":"2014-03-20T13:33:49Z","isPatch":true,"sender":{"key":"astrilhayato@gmail.com","avatar":null},"body":"User config file location now complies with the XDG base directory specification\n\nSigned-off-by: Astril Hayato <astrilhayato@gmail.com>\n---\n Documentation/gitk.txt | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/gitk.txt b/Documentation/gitk.txt\nindex 1e9e38a..7e03fcc 100644\n--- a/Documentation/gitk.txt\n+++ b/Documentation/gitk.txt\n@@ -166,8 +166,14 @@ 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:\n+\n+* '$XDG_CONFIG_HOME/git/gitk' if it exists, otherwise\n+* '$HOME/.gitk' if it exists\n+\n+If neither of the above exist then '$XDG_CONFIG_HOME/git/gitk' is created and\n+used by default. If '$XDG_CONFIG_HOME' is not set it defaults to\n+'$HOME/.config' in all cases.\n \n History\n -------\n-- \n1.9.0\n"},{"id":"237189","messageId":"xmqqy504yckj.fsf@gitster.dls.corp.google.com","threadId":"36249","inReplyTo":"1395322429-1501-1-git-send-email-astrilhayato@gmail.com","subject":"Re: [PATCH v3] Documentation/gitk: Document new config file location","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2014-03-20T18:01:00Z","receivedAt":"2014-03-20T18:01:00Z","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 config file location now complies with the XDG base directory specification\n>\n> Signed-off-by: Astril Hayato <astrilhayato@gmail.com>\n> ---\n>  Documentation/gitk.txt | 10 ++++++++--\n>  1 file changed, 8 insertions(+), 2 deletions(-)\n>\n> diff --git a/Documentation/gitk.txt b/Documentation/gitk.txt\n> index 1e9e38a..7e03fcc 100644\n> --- a/Documentation/gitk.txt\n> +++ b/Documentation/gitk.txt\n> @@ -166,8 +166,14 @@ 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:\n> +\n> +* '$XDG_CONFIG_HOME/git/gitk' if it exists, otherwise\n> +* '$HOME/.gitk' if it exists\n> +\n> +If neither of the above exist then '$XDG_CONFIG_HOME/git/gitk' is created and\n> +used by default. If '$XDG_CONFIG_HOME' is not set it defaults to\n> +'$HOME/.config' in all cases.\n\nThanks; looks good.\n"}]}