git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] git apply: cope with whitespace differences
@ 2009-07-02 12:52 Giuseppe Bilotta
  2009-07-02 12:52 ` [PATCH 1/2] git apply: option to ignore " Giuseppe Bilotta
  0 siblings, 1 reply; 6+ messages in thread
From: Giuseppe Bilotta @ 2009-07-02 12:52 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Robert Fitzsimons, Giuseppe Bilotta

A small patchset that allows git-apply (and thus git-am and git-rebase)
to cope with whitespace differences that would otherwise generate a conflict.

The first patch is basically an update of Rober Fitzsimons' previous work
http://permalink.gmane.org/gmane.comp.version-control.git/7876
whereas the second one is entirely mine and makes the context lines
match the original instead of the patched whitespace.

Giuseppe Bilotta (2):
  git apply: option to ignore whitespace differences
  git apply: preserve original whitespace with --ignore-whitespace

 builtin-apply.c                        |   83 ++++++++++++++++++++++++++++++--
 contrib/completion/git-completion.bash |    2 +
 git-am.sh                              |    3 +-
 git-rebase.sh                          |    3 +
 t/t4107-apply-ignore-whitespace.sh     |   74 ++++++++++++++++++++++++++++
 5 files changed, 159 insertions(+), 6 deletions(-)
 create mode 100755 t/t4107-apply-ignore-whitespace.sh

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-02 18:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 12:52 [PATCH 0/2] git apply: cope with whitespace differences Giuseppe Bilotta
2009-07-02 12:52 ` [PATCH 1/2] git apply: option to ignore " Giuseppe Bilotta
2009-07-02 12:52   ` [PATCH 2/2] git apply: preserve original whitespace with --ignore-whitespace Giuseppe Bilotta
2009-07-02 16:46   ` [PATCH 1/2] git apply: option to ignore whitespace differences Junio C Hamano
2009-07-02 17:46     ` Giuseppe Bilotta
2009-07-02 18:29       ` Junio C Hamano

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).