* Git to use XDG Base Directory Standard
@ 2012-08-22 21:33 Lanoxx
2012-08-22 21:44 ` Carlos Martín Nieto
0 siblings, 1 reply; 4+ messages in thread
From: Lanoxx @ 2012-08-22 21:33 UTC (permalink / raw)
To: git
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?
Best Regards
Lanoxx
[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
[2] https://live.gnome.org/GnomeGoals/XDGConfigFolders
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Git to use XDG Base Directory Standard
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
0 siblings, 1 reply; 4+ messages in thread
From: Carlos Martín Nieto @ 2012-08-22 21:44 UTC (permalink / raw)
To: Lanoxx; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Git to use XDG Base Directory Standard
2012-08-22 21:44 ` Carlos Martín Nieto
@ 2012-08-23 2:57 ` David Aguilar
2012-08-23 7:22 ` Lanoxx
0 siblings, 1 reply; 4+ messages in thread
From: David Aguilar @ 2012-08-23 2:57 UTC (permalink / raw)
To: Carlos Martín Nieto; +Cc: Lanoxx, git
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.
--
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Git to use XDG Base Directory Standard
2012-08-23 2:57 ` David Aguilar
@ 2012-08-23 7:22 ` Lanoxx
0 siblings, 0 replies; 4+ messages in thread
From: Lanoxx @ 2012-08-23 7:22 UTC (permalink / raw)
To: David Aguilar; +Cc: Carlos Martín Nieto, git
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-08-23 7:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).