saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-02-27 01:58:55 +01:00
committed by root
commit b3cea8d893
2385 changed files with 507432 additions and 0 deletions

8
etckeeper/commit.d/30git-add Executable file
View File

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