From: Junio C Hamano Date: Fri, 07 Feb 2014 00:18:10 GMT Subject: Re: [PATCH v5 10/14] trailer: execute command from 'trailer..command' Message-ID: In-Reply-To: <20140206202004.325.54178.chriscool@tuxfamily.org> Christian Couder writes: > +#define TRAILER_ARG_STRING "$ARG" No need to support users who may want to use a string that happens to match this substring literally as part of the command line? > struct trailer_item { > struct trailer_item *previous; > struct trailer_item *next; > @@ -56,6 +60,13 @@ static inline int contains_only_spaces(const char *str) > return !*s; > } > > +static inline void strbuf_replace(struct strbuf *sb, const char *a, const char *b) Same comment about "inline" for an earlier patch applies.