$ cat ~/Dev/git-standup
#!/bin/bash
function lastworkingday()
{
if [[ "1" == "$(date +%u)" ]]
then
echo "last friday"
else
echo "yesterday"
fi
}
git log --since="$(lastworkingday)" --author=`whoami` --pretty="format:%h %s - %an"
$ git standup