Files
zira-etc/etckeeper/commit.d/30git-add
2021-05-24 22:18:33 +03: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