Re: [PATCH RFC v1] stash: implement '--staged' option for 'push' and 'save'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



/On Mon, Oct 11, 2021 at 4:17 PM Sergey Organov <sorganov@xxxxxxxxx> wrote:
> Stash only the changes that are staged.
>
> This mode allows to easily stash-out for later reuse some changes
> unrelated to the current work in progress.
>
> Unlike 'stash push --patch', --staged supports using of any tool to
> select the changes to stash-out, including, but not limited to 'git
> add --interactive'.

s/using of any/use of any/
...or...
s/using of any/using any/

> Signed-off-by: Sergey Organov <sorganov@xxxxxxxxx>
> ---
> diff --git a/builtin/stash.c b/builtin/stash.c
> @@ -1656,6 +1716,8 @@ static int save_stash(int argc, const char **argv, const char *prefix)
> +               OPT_BOOL('S', "staged", &only_staged,
> +                        N_("stash in patch mode")),
>                 OPT_BOOL('p', "patch", &patch_mode,
>                          N_("stash in patch mode")),
>                 OPT__QUIET(&quiet, N_("quiet mode")),

Copy/paste error in new help/description string?



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux