This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Patch Submission Policy [Doc Patch]


On 23/02/2008, Tom Browder <tom.browder@gmail.com> wrote:
>
> Hm, I think that the '-b' option will not change any line count, nor
>  will it affect any lines that have other changes.

Feel free to use the -b option, apply the patch to pristine sources
and rediff without the -b option. The -b option does not just ignore
the whitespace cleanup done by your editor, it ignores all whitespace
changes.

>  The only difference should be a cleaner (and shorter) patch.

The -b option shouldn't make any difference for this, since your patch
should not contain arbitrary whitespace changes anyway. If your editor
changes whitespace, turn off that feature for GCC sources.

I had to turn off whitespace-cleanup for emacs.

Cheers,

Manuel.


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