From a58a4623f64df2effe3561852c6bd330f92e1cc8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 24 Sep 2025 13:23:35 +0300 Subject: [PATCH] Feat(filter-branch-all): Add `--prune-empty` --- filter-branch-all | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/filter-branch-all b/filter-branch-all index 6a4abb3..8b0ec33 100755 --- a/filter-branch-all +++ b/filter-branch-all @@ -3,5 +3,4 @@ # Just a reminder how to properly run `git filter-branch --all` FILTER_BRANCH_SQUELCH_WARNING=1 exec git filter-branch \ - --tag-name-filter cat "$@" -- --branches --tags - + --prune-empty --tag-name-filter cat "$@" -- --branches --tags -- 2.39.5