* rebasing, git-am and whitespace cleanup conundrims
@ 2006-10-25 22:49 Martin Langhoff
0 siblings, 0 replies; only message in thread
From: Martin Langhoff @ 2006-10-25 22:49 UTC (permalink / raw)
To: Git Mailing List
Hola!
i'm going through a rebase of a long series of patches (~50) that have
quite a bit of trailing whitespace. Once the rebase is done on my repo
(resolving all the code level conflicts), I want to re-rebase it on
top of the same commit but cleaning up trailing whitespace.
The problem is that upstream has 'some' trailing whitespace. The
policy is to reject "new" trailing whitespace and cleanup in stages to
avoid big merge conflicts and stuff.
Now, once the early patches are "in" with --whitespace=trim, the
following patches don't apply anymore :-/ and I can't just trim
whitespace in the whole patch series automatically.
Is there any way to get git-apply to ignore whitespace differences
when applying like GNU patch -l?
When -3 is passed, it must be calling the merge utility from
merge_file() -- which doesn't do 'ignore-whitespace'. But if it's a
straight patch application, it should be possible to do something like
that... maybe?
cheers,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-10-25 22:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25 22:49 rebasing, git-am and whitespace cleanup conundrims Martin Langhoff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).