Re: [PATCH v2 2/4] git-credential-store: support XDG_CONFIG_HOME

2015-03-10 Thread Paul Tan
On Sun, Mar 8, 2015 at 3:58 PM, Paul Tan wrote: > remove_credential(&fns, &c); > else if (!strcmp(op, "store")) > - store_credential(&fns, &c, fns.nr - 1); > + store_credential(&fns, &c, 0); > else > ; /* Ignore unknown op

[PATCH v2 2/4] git-credential-store: support XDG_CONFIG_HOME

2015-03-07 Thread Paul Tan
Add $XDG_CONFIG_HOME/git/credentials to the default credential search path of git-credential-store. This allows git-credential-store to support user-specific configuration files in accordance with the XDG base directory specification[1]. [1] http://standards.freedesktop.org/basedir-spec/basedir-sp