xdiff: implement empty line chunk heuristic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 16 repliesIn review
- v42 patches 17 repliesSuperseded
- v1 RFC2 patches 8 repliesSuperseded
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xdiff: add recs_match helper functionxdiff/ | +10 | 0 replies | |
| 2/2 | xdiff: implement empty line chunk heuristicDocumentation/ Documentation/ diff.c +2 more | +50 | 15 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCHv5 0/2] xdiff: implement empty line chunk heuristic
Thanks Jeff for pointing out issues in the comment!
Thanks,
Stefan
diff to origin/jk/diff-compact-heuristic:
xdiff/xdiffi.c +3 -3
@@ -515,12 +515,12 @@ int xdl_change_compact(xdfile_t *xdf, xdfile_t *xdfo, long flags) { }/* -* If a group can be moved back and forth, see if there is an +* If a group can be moved back and forth, see if there is a * blank line in the moving space. If there is a blank line, * make sure the last blank line is the end of the group. * -* As we shifted the group forward as far as possible, we only -* need to shift it back if at all. +* As we already shifted the group forward as far as possible +* in the earlier loop, we need to shift it back only if at all. */ if ((flags &XDF_COMPACTION_HEURISTIC ) && blank_lines) { while (ixs > 0 &&
Jacob Keller (1):
xdiff: add recs_match helper function
Stefan Beller (1):
xdiff: implement empty line chunk heuristic
Documentation/diff-config.txt | 5 +++++ Documentation/diff-options.txt | 6 ++++++ diff.c | 11 +++++++++++ xdiff/xdiff.h | 2 ++ xdiff/xdiffi.c | 40 ++++++++++++++++++++++++++++++++++++---- 5 files changed, 60 insertions(+), 4 deletions(-)
Signature · 1 line
2.4.11.2.g96ed4e5.dirty