1 2 3 4 5 6 7 8
#!/bin/sh set -e if [ "$VCS" = git ] && [ -d .git ]; then if ! git add . -u; then echo "etckeeper warning: git add -u failed" >&2 fi fi