diff options
-rwxr-xr-x | etckeeper | 3 | ||||
-rw-r--r-- | etckeeper.conf | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -8,6 +8,9 @@ fi if [ ! -z "$GIT_COMMIT_OPTIONS" ]; then export GIT_COMMIT_OPTIONS fi +if [ ! -z "$HG_COMMIT_OPTIONS" ]; then + export HG_COMMIT_OPTIONS +fi if [ -z "$1" ]; then echo "usage: etckeeper command [directory]" >&2 diff --git a/etckeeper.conf b/etckeeper.conf index 74bb34a..753952d 100644 --- a/etckeeper.conf +++ b/etckeeper.conf @@ -1,4 +1,6 @@ # Options passed to git commit when run by etckeeper. # You could for exemple use "-e" if you want to edit all commit messages # before committing. +# VCS="HG" #GIT_COMMIT_OPTIONS="-e" +#HG_COMMIT_OPTIONS="-e" |