#!/bin/sh -ef
#
# kiss-maintainer - find the maintainer of a package.

kiss s "$1" >/dev/null && {
    for repo in $(kiss s "$1"); do cd "$repo"
        maintainers=$(git log . 2>/dev/null | grep -F Author: | sort -u)

        [ "$maintainers" ] &&
            printf '=> %s\n%s\n' "$PWD" "$maintainers"
    done
}