summaryrefslogtreecommitdiff
path: root/commit.d/30git-add
diff options
context:
space:
mode:
Diffstat (limited to 'commit.d/30git-add')
-rwxr-xr-xcommit.d/30git-add4
1 files changed, 2 insertions, 2 deletions
diff --git a/commit.d/30git-add b/commit.d/30git-add
index 66d96a9..b08b583 100755
--- a/commit.d/30git-add
+++ b/commit.d/30git-add
@@ -2,7 +2,7 @@
set -e
if [ "$VCS" = git ] && [ -d .git ]; then
- if ! git add .; then
- echo "etckeeper warning: git add failed" >&2
+ if ! git add --all; then
+ echo "etckeeper warning: git add --all" >&2
fi
fi