Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 12 lines (11 sloc) 0.313 kb
1 2 3 4 5 6 7 8 9 10 11 12
username=`git config user.name`

while true; do
  current=`git rev-parse HEAD`
  ./gitchat-receive >/dev/null
  after=`git rev-parse HEAD`
  if [ $current != $after ]; then
    git log --pretty=format:"%h %ad%x09%an%x09%s" --date=short $current..$after | grep -v "$username"
    echo -ne "\a"
  fi
  sleep 1
done
Something went wrong with that request. Please try again.