#!/bin/sh set -e if [ "$VCS" = git ] && [ -d .git ]; then if ! git add .; then echo "etckeeper warning: git add failed" >&2 fi fi