etc-gentoo/etckeeper/commit.d/30git-add

9 lines
138 B
Plaintext
Raw Normal View History

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