From: Lanoxx <lanoxx@gmx.net>
To: David Aguilar <davvid@gmail.com>
Cc: "Carlos Martín Nieto" <cmn@elego.de>, git@vger.kernel.org
Subject: Re: Git to use XDG Base Directory Standard
Date: Thu, 23 Aug 2012 09:22:36 +0200 [thread overview]
Message-ID: <5035DA3C.4030404@gmx.net> (raw)
In-Reply-To: <CAJDDKr6Jh0c9W1coQLOqrQKW-X7CCF9t_Nr2pW-7ivh0Ae9xrw@mail.gmail.com>
On 23/08/12 04:57, David Aguilar wrote:
> On Wed, Aug 22, 2012 at 2:44 PM, Carlos Martín Nieto <cmn@elego.de> wrote:
>> Lanoxx <lanoxx@gmx.net> writes:
>>
>>> Hi,
>>>
>>> Git and Gitk are currently using the ~/.gitconfig and ~/.gitk files in
>>> the $HOME directory. It would be nice to use the XDG Base Directory
>>> standard for the location instead, see [1] and [2]. Are there any
>>> plans regarding this standard?
>> Git does this starting at 1.7.12. See the release notes, e.g. at
>> https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.12.txt#L18-23
>>
>> cmn
> I do not recall whether gitk learned about it (I don't think so).
>
> Like all big sweeping changes, these were done in a
> backwards-compatible way that will allow users to switch over when
> they are ready. If you are interested in attacking this from the gitk
> angle then you will want to follow a similar strategy.
I just checked it, the code is in
https://github.com/git/git/blob/master/gitk-git/gitk:2710 and following.
Currently it still saves it to ~/.gitk-new and then renames it to ~/.gitk
Unfortunately I do not know Tcl/Tk so I can't provide a patch. But if
someone could provide a patch that would be really nice.
prev parent reply other threads:[~2012-08-23 7:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 21:33 Git to use XDG Base Directory Standard Lanoxx
2012-08-22 21:44 ` Carlos Martín Nieto
2012-08-23 2:57 ` David Aguilar
2012-08-23 7:22 ` Lanoxx [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5035DA3C.4030404@gmx.net \
--to=lanoxx@gmx.net \
--cc=cmn@elego.de \
--cc=davvid@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.