summaryrefslogtreecommitdiff
path: root/commit.d/40git-rm
blob: ae70e1f6343ec2bc613124bc113ba749daf66fb0 (plain)
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