[PATCH 0/4] diff --cc: relax path filtering
- From
Max Kirillov <max@max630.net>
- Date
- Apr 2, 2015, 20:34 UTC
- Message-ID
- <1428006853-21212-1-git-send-email-max@max630.net>
For diff --cc, paths fitering used to select only paths which have changed in all parents, while diffing itself output hunks which are changed in as few as 2 parents.
Fix intersect_paths() to add paths which have at least 2 changed parents.
Intersects with branch 'bc/object-id' which is not yet in master. This is rebased on top of it.
Max Kirillov (4): Add test for showing discarded changes with diff --cc combine-diff.c: refactor: extract insert_path() diff --cc: relax too strict paths picking t4059: rewrite to be adaptive to hunk filtering
combine-diff.c | 95 ++++++++++++++++++----------- t/t4059-diff-merge-with-base.sh | 132 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 193 insertions(+), 34 deletions(-) create mode 100755 t/t4059-diff-merge-with-base.sh
-- 2.3.4.2801.g3d0809b