summaryrefslogtreecommitdiff
path: root/etckeeper
diff options
context:
space:
mode:
Diffstat (limited to 'etckeeper')
-rwxr-xr-xetckeeper3
1 files changed, 3 insertions, 0 deletions
diff --git a/etckeeper b/etckeeper
index dfd44bb..9baa7b6 100755
--- a/etckeeper
+++ b/etckeeper
@@ -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