From: Paul Tan Date: Tue, 10 Mar 2015 13:43:03 GMT Subject: Re: [PATCH v2 2/4] git-credential-store: support XDG_CONFIG_HOME Message-ID: In-Reply-To: <1425801532-8483-3-git-send-email-pyokagan@gmail.com> 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 operation. */ Whoops, seems like I squashed some commits in the wrong order (but there is no functional difference). Will re-roll the patch series. Also, store_credential() should take a string as the default filename instead of an index into the filename string_list for extra API flexibility. Thanks.