---
src/password-store.sh | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/password-store.sh b/src/password-store.sh
index 2b8aba8..c0905dd 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -388,6 +388,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.2.5
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store