#!/bin/sh
#
# gitlive - continuously show the current status of the repository

clear
date

show() {
  printf '%b\n' "\n####### $1"
  eval "$1"
}

show "git status"
show "git diff --stat"
show "git diff --cached --stat"

sleep 3

gitlive &
