Files
etc-mypi/etckeeper/commit.d/30git-add
2021-03-18 15:42:28 +00:00

9 lines
138 B
Bash
Executable File

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