]> git.phdru.name Git - git-scripts.git/commitdiff
Feat(filter-branch-all): Add `--prune-empty` master
authorOleg Broytman <phd@phdru.name>
Wed, 24 Sep 2025 10:23:35 +0000 (13:23 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 24 Sep 2025 10:23:35 +0000 (13:23 +0300)
filter-branch-all

index 6a4abb3fef9bd6db419a3aca9f4ff78927bc038b..8b0ec33b3202b10fc274ac703f3313a8447997ac 100755 (executable)
@@ -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