Re: Git to use XDG Base Directory Standard
- From
David Aguilar <davvid@gmail.com>
- Date
- Aug 23, 2012, 02:57 UTC
- Message-ID
- <CAJDDKr6Jh0c9W1coQLOqrQKW-X7CCF9t_Nr2pW-7ivh0Ae9xrw@mail.gmail.com>
- In-Reply-To
- <871uiy8uuw.fsf@centaur.cmartin.tk>
On Wed, Aug 22, 2012 at 2:44 PM, Carlos Martín Nieto <cmn@elego.de> wrote:
Show 13 quoted lines
> 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