Staging
v0.5.1
swh:1:snp:c5feb7ee9221a3820c8879e85e8a18470c0b3afa
Raw File
Tip revision: 181785487ecd48c7a3760ca31a6a245aabb2cbc8 authored by Junio C Hamano on 22 January 2022, 03:05:07 UTC
What's cooking (2022/01 #06)
Tip revision: 1817854
CB
#!/bin/sh
# Cull topic branches

git for-each-ref --merged maint 'refs/heads/*/*' |
while read commit type name
do
	git for-each-ref --count=1 --sort=version:refname \
		--contains "$name" \
		--format="%(taggerdate:iso) #%(refname:strip=2)	$name" \
		refs/tags/
done |
sort |
sed -e 's/[^#]*#//'
back to top