From: Felipe Contreras <felipe.contreras@gmail.com>
To: Eric Sunshine <sunshine@sunshineco.com>,
Felipe Contreras <felipe.contreras@gmail.com>
Cc: Git List <git@vger.kernel.org>,
Piotr Krukowiecki <piotr.krukowiecki.news@gmail.com>,
Jay Soffian <jaysoffian@gmail.com>, Miles Bader <miles@gnu.org>,
Jonathan Nieder <jrnieder@gmail.com>,
Philip Oakley <philipoakley@iee.org>,
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>,
William Swanson <swansontec@gmail.com>,
Ping Yin <pkufranky@gmail.com>,
Hilco Wijbenga <hilco.wijbenga@gmail.com>
Subject: Re: [PATCH try2 01/14] Add proper 'stage' command
Date: Mon, 14 Oct 2013 17:22:33 -0500 [thread overview]
Message-ID: <525c6ea918b6a_235dd2be7837@nysa.notmuch> (raw)
In-Reply-To: <CAPig+cQN5e8hOKTvHRKUQoLmctUWbAqTydgfY10Kr4AzHtB7kg@mail.gmail.com>
Eric Sunshine wrote:
> On Sat, Oct 12, 2013 at 3:04 AM, Felipe Contreras
> <felipe.contreras@gmail.com> wrote:
> > SYNOPSIS
> > --------
> > [verse]
> > -'git stage' args...
> > -
> > +'git stage' [options] [--] [<paths>...]
> > +'git stage add' [options] [--] [<paths>...]
> > +'git stage reset' [-q|--patch] [--] [<paths>...]
> > +'git stage diff' [options] [<commit>] [--] [<paths>...]
> > +'git stage rm' [options] [--] [<paths>...]
> > +'git stage apply' [options] [--] [<paths>...]
> >
> > diff --git a/builtin/stage.c b/builtin/stage.c
> > new file mode 100644
> > index 0000000..3023d17
> > --- /dev/null
> > +++ b/builtin/stage.c
> > @@ -0,0 +1,52 @@
> > +/*
> > + * 'git stage' builtin command
> > + *
> > + * Copyright (C) 2013 Felipe Contreras
> > + */
> > +
> > +#include "builtin.h"
> > +#include "parse-options.h"
> > +
> > +static const char *const stage_usage[] = {
> > + N_("git stage [options] [--] <paths>..."),
> > + N_("git stage add [options] [--] <paths>..."),
> > + N_("git stage reset [-q|--patch] [--] <paths>..."),
> > + N_("git stage diff [options] [<commit]> [--] <paths>..."),
> > + N_("git stage rm [options] [--] <paths>..."),
> > + NULL
> > +};
>
> Missing usage for "git stage apply".
Right. Will add
--
Felipe Contreras
next prev parent reply other threads:[~2013-10-14 22:28 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-12 7:04 [PATCH try2 14/14] completion: update 'git reset' new stage options Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 04/14] grep: add --staged option Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 07/14] stash: add --stage to pop and apply Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 00/14] Officially start moving to the term 'staging area' Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 10/14] apply: add --work, --no-work options Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 01/14] Add proper 'stage' command Felipe Contreras
2013-10-14 19:44 ` Eric Sunshine
2013-10-14 22:22 ` Felipe Contreras [this message]
2013-10-12 7:04 ` [PATCH try2 09/14] apply: add --stage option Felipe Contreras
2013-10-13 9:53 ` Eric Sunshine
2013-10-13 10:16 ` Felipe Contreras
2013-10-13 10:19 ` Miles Bader
2013-10-13 10:31 ` Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 03/14] diff: document --staged Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 05/14] rm: add --staged option Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 02/14] stage: add edit command Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 13/14] reset: allow --keep with --stage Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 12/14] reset: add --stage and --work options Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 08/14] submodule: add --staged options Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 11/14] completion: update " Felipe Contreras
2013-10-12 7:04 ` [PATCH try2 06/14] stash: add --stage option to save Felipe Contreras
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=525c6ea918b6a_235dd2be7837@nysa.notmuch \
--to=felipe.contreras@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=hilco.wijbenga@gmail.com \
--cc=jaysoffian@gmail.com \
--cc=jrnieder@gmail.com \
--cc=miles@gnu.org \
--cc=philipoakley@iee.org \
--cc=piotr.krukowiecki.news@gmail.com \
--cc=pkufranky@gmail.com \
--cc=sunshine@sunshineco.com \
--cc=swansontec@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).