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
1 changed files with 2 additions and 4 deletions

View File

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