threads / patch / 22843

v3, 5 partsApply blanks at EOF

Subject: [PATCH v3 0/5] Apply blanks at EOF

## tl;dr

2 messages between Feb 27, 2010 and Feb 28, 2010. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Björn Gustavsson· Feb 27, 2010, 13:51 UTC · lore
Here is my third attempt.
Björn Gustavsson (5):
  apply: Don't unnecessarily update line lengths in the preimage
    As far as I understand, there was a completely unnecessary update
    of line lengths which I have got rid of.
  apply: Remove the quick rejection test
    Unchanged (except for a minor correction of the commit message).
  apply: Allow blank context lines to match beyond EOF
    Included Junio's suggested clean-up that eliminates the "limit" variable.
    Now handling --ignore-space-change.
  t4124: Add additional tests of --whitespace=fix
    Added some more test cases and modified several tests to
    run "git apply" both with and without the --ignore-space-change
    option.
  t3417: Add test cases for "rebase --whitespace=fix"
    Unchanged.
 builtin-apply.c                  |  184 +++++++++++++++++++++++++++++---------
 t/t3417-rebase-whitespace-fix.sh |  126 ++++++++++++++++++++++++++
 t/t4104-apply-boundary.sh        |    9 ++
 t/t4124-apply-ws-rule.sh         |  119 ++++++++++++++++++++++++
 4 files changed, 397 insertions(+), 41 deletions(-)
 create mode 100755 t/t3417-rebase-whitespace-fix.sh

← back to recent threads