From: Junio C Hamano Date: Tue, 13 Feb 2007 22:24:17 GMT Subject: Re: How do I get git-format-patch to ignore changes that remove spaces from the end of the line? Message-ID: <7vhctpwvam.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <45D234C5.5090005@freescale.com> Timur Tabi writes: > After I commit my changes, I use git-format-patch to make a patch. I > then get deltas like this: > > * Copyright (C) 1996-2005 Paul Mackerras. > - * > + * > * Adapted for 64bit PowerPC by Dave Engebretsen and Peter Bergner. > - * {engebret|bergner}@us.ibm.com > + * {engebret|bergner}@us.ibm.com > * > > I don't want these deltas in my patch. You could revert the change to the editor configuration and rely on "git diff" before committing to point out the whitespace breakage that you newly introduced to the file. Then you would be sending out exactly what you changed.