From: Jonathan Nieder Date: Sat, 20 Mar 2010 22:47:36 GMT Subject: Re: [PATCH 01/16] xdl_merge(): add optional ancestor label to diff3-style output Message-ID: <20100320224736.GC31098@progeny.tock> In-Reply-To: <36ca99e91003170722m6642ca5q93b2669feaf3dea2@mail.gmail.com> Bert Wesarg wrote: > On Wed, Mar 17, 2010 at 12:46, Jonathan Nieder wrote: >> --- a/xdiff/xmerge.c >> +++ b/xdiff/xmerge.c >> @@ -397,6 +406,7 @@ static int xdl_do_merge(xdfenv_t *xe1, xdchange_t *xscr1, const char *name1, >>  int flags, xmparam_t const *xmp, mmbuffer_t *result) { >> xdmerge_t *changes, *c; >> xpparam_t const *xpp = &xmp->xpp; >> + const char * const ancestor_name = xmp->ancestor; > > Style. * should be aligned to the variable name. Not so clear to me: $ git grep -e '\* const' origin/master | wc -l 90 $ git grep -e '\*const' origin/master | wc -l 23 I do prefer the style you suggest, so I’ve fixed it. > FWIW: > > Acked-by: Bert Wesarg Thanks for looking it over. I’ll be sending a rebased version in a moment including your ack; I hope that’s okay. Jonathan