4 { IFS=:; set -- $KISS_PATH; unset IFS; }
7 git_root=$(git -C ${repo} rev-parse --show-toplevel)
8 if [ -f ${git_root}/update ]; then
9 shortlog=$(git -C ${git_root} log --pretty=oneline --follow -- update)
10 while IFS= read -r line; do
11 hash=$(printf ${line} | cut -d " " -f 1)
12 git -C ${git_root} show ${hash}:update | tail -n +2 > /tmp/kiss-mail
14 printf "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
15 printf "Item: %s" $((i = i + 1))
17 git -C ${git_root} show -s ${hash} | tail -n +2
18 printf "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n"
29 get_mail | ${PAGER:-less -R}