Falling back "diff -C -C" to "diff -C" more gracefully
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | diffcore-rename: refactor "too many candidates" logicdiffcore-rename.c | +25 | 0 replies | |
| 2/3 | diffcore-rename: record filepair for rename srcdiffcore-rename.c | +12 | 0 replies | |
| 3/3 | diffcore-rename: fall back to -C when -C -C busts the rename limitdiffcore-rename.c | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] Falling back "diff -C -C" to "diff -C" more gracefully
In a project with many paths, "diff -C -C" may have too many rename source candidates (as it tries to use all existing paths) but the rename source candidates "diff -C" would use may still fit under the rename detection limit. Currently, we punt and disable the inexact rename detection altogether even in such a case.
This weatherballoon series illustrates how diffcore-rename can be tweaked to allow "-C -C" to fall back to "-C". Somebody should write a test, but not today ;-).
Junio C Hamano (3):
diffcore-rename: refactor "too many candidates" logic
diffcore-rename: record filepair for rename src
diffcore-rename: fall back to -C when -C -C busts the rename limit
diffcore-rename.c | 97 ++++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 71 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.4.rc1.214.g2a4f9