Test --prune respects --branch and --map filters

main

Commit

pjbgf5mo ago

Two integration cases prove --prune leaves orphan target branches alone once the user has narrowed scope with --branch main or --map main:stable. A package-level TestMain registers the empty go-git config loader so host gpgSign settings can't break test commits.

Assisted-by: Claude Opus 4.7 noreply@anthropic.com Signed-off-by: Paulo Gomes paulo@entire.io Entire-Checkpoint: 6d070296380b

Checkpoints

Are there good enough coverage around --prune as to avoid data loss?

CodexGPT-5.5
View session
Checkpoint 1

Add tests to ensure that source and target must not be the same repository

Claude CodeOpus 4.7[1m]
View session
Checkpoint 1