fix(diff): make --parent default to current version and skip non-meaningful ancestors - #10526
fix(diff): make --parent default to current version and skip non-meaningful ancestors#10526davidfirst wants to merge 16 commits into
Conversation
PR Summary by QodoFix
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1. No fields diff first version
|
Code Review by Qodo
1. Default version not imported
|
|
Code review by qodo was updated up to the latest commit 8bd7871 |
…ck in parent walk, robust e2e
|
Code review by qodo was updated up to the latest commit 0fea3d4 |
|
Code review by qodo was updated up to the latest commit e929db9 |
|
Code review by qodo was updated up to the latest commit 76a00c6 |
|
Addressed the remaining open items from the latest Qodo review (commit dd3601d):
|
|
Code review by qodo was updated up to the latest commit dd3601d |
|
Code review by qodo was updated up to the latest commit 80f82bf |
|
Code review by qodo was updated up to the latest commit 828a4a6 |
|
Code review by qodo was updated up to the latest commit d43b98a |
|
Code review by qodo was updated up to the latest commit e6d4999 |
|
Code review by qodo was updated up to the latest commit a2f262b |
|
Code review by qodo was updated up to the latest commit 800f236 |
|
Code review by qodo was updated up to the latest commit ac7f09b |
Fixes several issues with
bit diff --parent:--parentwithout a version threw an error; it now defaults to the component's current version._tag) on a merged lane snap, the tag is identical to that snap, so diffing against the immediate parent showed "no diff". The diff now walks up the history, skipping hidden ancestors and snap ancestors with identical content (the latter covers releases with rebuilt artifacts, where the merged snap is not marked hidden). A tag ancestor is never skipped by content, so a legit tag created with--unmodifiedstill shows no diff.--parenton the first version now shows all files as added.Added e2e coverage for all the above.