On Tue, Aug 4, 2015 at 8:42 AM, Karthik Nayak <karthik.188@xxxxxxxxx> wrote: > Introduce a ref_formatting_state which will eventually hold the values > of modifier atoms. Implement this within ref-filter. > > Signed-off-by: Karthik Nayak <karthik.188@xxxxxxxxx> > --- > diff --git a/ref-filter.c b/ref-filter.c > index 91482c9..2c074a1 100644 > --- a/ref-filter.c > +++ b/ref-filter.c > @@ -1238,35 +1238,58 @@ static void emit(const char *cp, const char *ep, struct strbuf *output) > +static void apply_formatting_state(struct ref_formatting_state *state, struct strbuf *final) > +{ > + /* More formatting options to be evetually added */ I forgot to mention this in my earlier review of this patch: s/evetually/eventually/ > + strbuf_addbuf(final, state->output); > + strbuf_release(state->output); > +} -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html