This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


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

Re: What tab spacing is everyone using for changes


----- Original Message -----
From: "DJ Delorie" <dj@delorie.com>
>
> > I run GNU indent on the files before updating or creating patches -
GNU
> > indent sets spaces to tabs at 8 chars, realigns paragraphs etc.
>
> Be careful - this might change lines you didn't touch, making any
> diffs you generate difficult for us to review and/or apply.

It depends on the projects adherence to the standards - naturally.
Cygwin is very good this way, with the minor exception of indent
miinterpreting the C++ protection brackets.

> Also, "diff -w" may help if you do use indent; it ignores space
> changes to lines that didn't otherwise change.

Thanks you.

Rob



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