git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] stash doc: mention short form -k in save description

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 24, 2014, 17:57 UTC
Message-ID
<xmqqeh2s9ywo.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140221172524.GA18357@sanger.ac.uk>
John Marshall <jm18@sanger.ac.uk> writes:
Show 5 quoted lines
> Document --keep-index's short form -k in both main synopsis and
> the save synopsis in the Options section.
>
> Signed-off-by: John Marshall <jm18@sanger.ac.uk>
> ---
Looks good; thanks.
Show 22 quoted lines
> A very small documentation patch: I'd not read the main synopsis
> carefully (just skipped to the save details!) and didn't realise 
> that --keep-index had a short form...
>
>  Documentation/git-stash.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-stash.txt b/Documentation/git-stash.txt
> index db7e803..375213f 100644
> --- a/Documentation/git-stash.txt
> +++ b/Documentation/git-stash.txt
> @@ -44,7 +44,7 @@ is also possible).
>  OPTIONS
>  -------
>  
> -save [-p|--patch] [--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
> +save [-p|--patch] [-k|--[no-]keep-index] [-u|--include-untracked] [-a|--all] [-q|--quiet] [<message>]::
>  
>  	Save your local modifications to a new 'stash', and run `git reset
>  	--hard` to revert them.  The <message> part is optional and gives
> -- 
> 1.8.3.4 (Apple Git-47)
Previous: John Marshall
Message 2 of 2 in “stash doc: mention short form -k in save description”
  1. stash doc: mention short form -k in save descriptionJohn Marshall, Feb 21, 2014
  2. Junio C HamanoFeb 24, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.