kiss-maintainer: get git to format

This commit is contained in:
phoebos 2023-03-22 01:16:58 +00:00
parent 61b24f4d7b
commit 9e1394c897
No known key found for this signature in database

View File

@ -8,11 +8,9 @@
} }
kiss search "$@" | sort -u | while read -r repo; do cd "$repo" kiss search "$@" | sort -u | while read -r repo; do cd "$repo"
m=$(git log -1 -- version 2>/dev/null) ||: m=$(git log -1 --format='%an <%ae>' -- version 2>/dev/null) ||:
m=${m##*Author: }
m=${m%%>*}
[ "$m" ] || continue [ "$m" ] || continue
printf '=> %s\n%s>\n' "$PWD" "$m" printf '=> %s\n%s\n' "$PWD" "$m"
done done