Re: [PATCH v5 05/10] add-interactive.c: implement status command

2019-03-01 Thread Slavica Djukic
On 22-Feb-19 11:11 PM, Junio C Hamano wrote: "Slavica Djukic via GitGitGadget" writes: +static int parse_color_slot(const char *slot) +{ + if (!strcasecmp(slot, "prompt")) + return COLOR_PROMPT; + if (!strcasecmp(slot, "header")) + return COLOR_HEADER;

Re: [PATCH v5 05/10] add-interactive.c: implement status command

2019-02-22 Thread Junio C Hamano
"Slavica Djukic via GitGitGadget" writes: > +static int parse_color_slot(const char *slot) > +{ > + if (!strcasecmp(slot, "prompt")) > + return COLOR_PROMPT; > + if (!strcasecmp(slot, "header")) > + return COLOR_HEADER; > + if (!strcasecmp(slot, "help")) > +

[PATCH v5 05/10] add-interactive.c: implement status command

2019-02-20 Thread Slavica Djukic via GitGitGadget
From: Slavica Djukic Implement add --interactive's status command in add-interactive.c and use it in builtin add--helper.c. This is the first interactive add command implemented in C of those anticipated by the previous commit, which introduced the add--helper built-in. Implement additional help