#!/bin/sh# Hacky little helper called from edit/ and sandbox/ apps to save a snapshot# of lesson/ using git.test-dlesson/.git||exit0# give up if it's not a git repocdlesson
# explicitly say '--all' for git 1.9
gitadd--all.
# bug in git: git diff -q messes up --exit-code
gitdiffHEAD--exit-code>/dev/null||gitcommit-a-m.>/dev/null