Re: [PATCH v2 01/14] Add proper 'stage' command
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Oct 14, 2013, 23:06 UTC
- Message-ID
- <CAPig+cTu8k7c2JtxdYLqn+9s-rZ4C_Th3GNDBXABQVtz0hviaQ@mail.gmail.com>
- In-Reply-To
- <1381789769-9893-6-git-send-email-felipe.contreras@gmail.com>
On Mon, Oct 14, 2013 at 6:29 PM, Felipe Contreras <felipe.contreras@gmail.com> wrote:
Show 23 quoted lines
> 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
> +};Sent the wrong set of patches? The interdiff in the cover letter showed usage for "git stage apply", but it's not here in the actual patch.