#!/bin/sh set -e if ! LANG=C git-status 2>&1 | grep -q "working directory clean"; then git-status || true echo "etckeeper warning: /etc is not clean" >&2 printf "Press Enter to commit changes and continue. " read line &2 echo "Please resolve the uncommitted changes by hand." printf "Press Enter when ready to continue. " read line