This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 68hc11/12/s12x/xgate patch - style question

How about doing a diff and cleaning up the parts that you wrote and
leaving the rest alone such that your patch is clean? It's more work,
but certainly the right thing to do.

Another question, one mammoth patch is very similar to one mammoth
commit which is, at least amongst developers who I've worked with and
know, frowned upon. Would it be possible to split up your single patch
into appropriate sub patches that do specific things at the same time
that you're fixing the formatting? Even though my opinion doesn't
matter, I'd feel more comfortable with more manageable change sets and
more comprehensible and coherent single-purpose diffs.



On Thu, Jan 12, 2012 at 8:39 PM, James Murray <> wrote:
> On Tue, 2012-01-10 at 15:45 +0000, James Murray wrote:
> > On Tue, 2012-01-10 at 14:41 +0000, nick clifton wrote:
> > *) There are some formatting problems. ?Ideally we like code that
> > > follows the GNU Coding Standard:
> >
> I've read through the document and the main issues as-is are the ones
> Nick already highlighted (brace style and space after function name.)
> The document mentions that "indent" can apply the desired formatting.
> It would be straightforward enough for me to do that, but then the patch
> would also include any formatting changes to the existing code which
> could obscure that functional changes.
> So what do the maintainers prefer? Should the patch be just what I've
> changed or should I use indent and reformat the whole of hc11 files I've
> touched.
> regards
> James Murray

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]