Re: How do I get git-format-patch to ignore changes that remove spaces from the end of the line?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timur Tabi <timur@xxxxxxxxxxxxx> 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.


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]