Re: [PATCH v2 01/14] Add proper 'stage' command
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Oct 14, 2013, 23:15 UTC
- Message-ID
- <CAMP44s0qXui4DM6ejdwNYTR__q0zsish2+-JsphrmNT15zoeAg@mail.gmail.com>
- In-Reply-To
- <CAPig+cTu8k7c2JtxdYLqn+9s-rZ4C_Th3GNDBXABQVtz0hviaQ@mail.gmail.com>
On Mon, Oct 14, 2013 at 6:06 PM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 29 quoted lines
> On Mon, Oct 14, 2013 at 6:29 PM, Felipe Contreras
> <felipe.contreras@gmail.com> wrote:
>> 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.No, it's the right series, but apparently I added the change to the wrong commit: stage: add edit command. I've fixed that and will send it on the next reroll (if there's any).
-- Felipe Contreras