summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rwxr-xr-xetckeeper3
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 74e7c61..bb18369 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+etckeeper (0.65) UNRELEASED; urgency=low
+
+ * Unset GIT_DIR and GIT_WORK_TREE. Closes: #689101
+
+ -- Joey Hess <joeyh@debian.org> Sat, 29 Sep 2012 10:46:21 -0400
+
etckeeper (0.64) unstable; urgency=low
* Added support for openSUSE's zypper package manager.
diff --git a/etckeeper b/etckeeper
index aa5cf69..d18b3ed 100755
--- a/etckeeper
+++ b/etckeeper
@@ -22,6 +22,9 @@ if [ -z "$VCS" ]; then
fi
export VCS
+unset GIT_WORK_TREE
+unset GIT_DIR
+
program_directory="${0%/*}"
if [ -n "$program_directory" ]; then
PATH="$PATH:$program_directory"