]> git.ipfire.org Git - thirdparty/git.git/commit
branch: prepare delete_branches for a bulk caller
authorHarald Nordgren <haraldnordgren@gmail.com>
Sat, 25 Jul 2026 11:32:13 +0000 (11:32 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 25 Jul 2026 17:15:03 +0000 (10:15 -0700)
commit01df07c9df79770da4c0ef966dc7a22d305ef11f
treee8ebb25c00d2ca016c1a808ce71640e2aa9d2704
parent3b329696f94032f8671de0c037a86a8096cccc64
branch: prepare delete_branches for a bulk caller

Teach delete_branches() a new mode for the upcoming --delete-merged
caller that checks whether a branch is merged into its upstream without
falling back to HEAD when there is no upstream. Existing callers keep
their current behavior.

Signed-off-by: Harald Nordgren <haraldnordgren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c