summary refs log tree commit diff
path: root/home/.local/bin/versions
blob: 25e5ff721e07b1710546138e042aaf653d2c00ee (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -u

for repo in ~/src/git/*; do
	version=$(git -C "${repo}" describe --dirty 2>/dev/null)
	if [ $? -eq 0 ]; then
		echo "${repo##*/}-${version#v}"
	fi
done | sort -nr -t '-' -k 3 | column -t -s '-'
0&id=81bf4d32b377d3f2fdd7ab3ca651be99408f5c32&follow=1'>t0107: Skip ZIP tests if unzip(1) isn't availableLukas Fleischer 2013-04-10tests/: Do not use `sed -i`Lukas Fleischer 2013-04-10Add branch-sort and repo.branch-sort options.Jason A. Donenfeld 2013-04-10t0109: chain operations with &&John Keeping 2013-04-10cgit.c: Do not restore unset environment variablesLukas Fleischer 2013-04-09t0107: Use `tar -z` for gzip'ed archivesLukas Fleischer