Skip to content

Fix diff showing stale entries for renamed manifests#68

Merged
andrew merged 1 commit intomainfrom
fix-diff-renamed-manifests
Jan 31, 2026
Merged

Fix diff showing stale entries for renamed manifests#68
andrew merged 1 commit intomainfrom
fix-diff-renamed-manifests

Conversation

@andrew
Copy link
Contributor

@andrew andrew commented Jan 30, 2026

PrefetchDiffs only handled A/M/D status codes from git log --name-status. When manifests were renamed (status R), the old path was never removed from the rolling snapshot, causing stale dependencies to appear in diff output.

Added handling for R (rename) and C (copy) status codes. A rename is treated as delete old + add new.

Fixes #53

PrefetchDiffs only handled A/M/D status codes from git log --name-status.
When manifests were renamed (status R), the old path was never removed
from the rolling snapshot, causing stale dependencies to appear in diff.

Added handling for R (rename) and C (copy) status codes. A rename is
treated as delete old + add new.

Fixes #53
@andrew andrew merged commit 1235b3b into main Jan 31, 2026
4 checks passed
@andrew andrew deleted the fix-diff-renamed-manifests branch January 31, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should git pkgs diff output the packages diff of uncommitted changes

1 participant