---
src/password-store.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/password-store.sh b/src/password-store.sh
index e9ba4f0..a5d062f 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -419,6 +419,7 @@ case "$command" in
git "$@" || exit 1
git_add_file "$PREFIX" "Added current contents of
password store."
elif [[ -d $GIT_DIR ]]; then
+ cd $GIT_WORK_TREE
exec git "$@"
else
echo "Error: the password store is not a git
repository."
--
1.7.10.4
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store