Subject: [PATCH] docs/credential-store: s/--store/--file/

From: Jeff King <[email-masked]>
Date: Thu, 6 Nov 2014 02:40:32 -0500

On Thu, Oct 23, 2014 at 05:14:56PM +0000, Hopkins, Jesse wrote:

> The man page for git-credential-store at
> http://git-scm.com/docs/git-credential-store
> and
> https://www.kernel.org/pub/software/scm/git/docs/git-credential-store.html
> 
> incorrectly state that the option to change the credential storage
> path is '--store'.  The name of the option should be '--file'. I have
> noticed this running it 1.8.5.3

Thanks. Here's a fix.

-- >8 --
The option name "--store" was used early in development, but
never even made it into an applied patch, let alone a
released version of git. I forgot to update the matching
documentation at the time, though.

Noticed-by: Jesse Hopkins <[email-masked]>
Signed-off-by: Jeff King <[email-masked]>
---
 Documentation/git-credential-store.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-credential-store.txt b/Documentation/git-credential-store.txt
index 8481cae..bc97071 100644
--- a/Documentation/git-credential-store.txt
+++ b/Documentation/git-credential-store.txt
@@ -29,7 +29,7 @@ linkgit:gitcredentials[7] or `EXAMPLES` below.
 OPTIONS
 -------
 
---store=<path>::
+--file=<path>::
 
 	Use `<path>` to store credentials. The file will have its
 	filesystem permissions set to prevent other users on the system
-- 
2.1.2.596.g7379948