[pass] [PATCH 2/2] Fixed 'missing working tree' for 'pass git pull'
Matthieu Weber
mweber at free.fr
Mon Aug 5 20:35:40 CEST 2013
---
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
More information about the Password-Store
mailing list