From: Junio C Hamano Date: Mon, 08 Jun 2026 23:56:35 GMT Subject: Re: [PATCH v13 2/6] branch: let delete_branches warn instead of error on bulk refusal Message-ID: In-Reply-To: "Harald Nordgren via GitGitGadget" writes: > From: Harald Nordgren > > Add a warn-only mode to delete_branches() and check_branch_commit() > so a bulk caller can report branches that are not fully merged as a > short warning and carry on, rather than erroring with the longer > "use 'git branch -D'" advice that the plain "git branch -d" path > emits. Existing callers are unaffected. > > Signed-off-by: Harald Nordgren > --- > builtin/branch.c | 50 ++++++++++++++++++++++++++++++++---------------- > 1 file changed, 34 insertions(+), 16 deletions(-) This breaks t5404, t5514, and t5505, which contradicts with "Existing callers are unaffected". What's going on? It is troubling that the breakage happens without even getting merged with other topics in-flight, which means that the environment you are developing in and testing on and the environment that I apply patches on, integrate and test (something based on Debian testing) are somehow behaving differently. "cd t && sh t5404-*.sh -i -v" ends like so: expecting success of 5404.7 'already deleted tracking branches ignored': git branch -d -r origin/b3 && git push origin :b3 >output 2>&1 && ! grep "^error: " output error: the branch 'origin/b3' is not fully merged hint: If you are sure you want to delete it, run 'git branch -D origin/b3' hint: Disable this message with "git config set advice.forceDeleteBranch false" not ok 7 - already deleted tracking branches ignored # # git branch -d -r origin/b3 && # git push origin :b3 >output 2>&1 && # ! grep "^error: " output # 1..7 but it may be possible that earlier steps are behaving differently with the patches applied. I didn't dig further but I think the CI in the recent past have been affected by the same breakage.