Signed-off-by: Silvio Fricke <[email protected]>
---
src/password-store.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/password-store.sh b/src/password-store.sh
index 140b1bc..77c3a70 100755
--- a/src/password-store.sh
+++ b/src/password-store.sh
@@ -569,6 +569,9 @@ cmd_git() {
git_add_file .gitattributes "Configure git repository for gpg
file diff."
git config --local diff.gpg.binary true
git config --local diff.gpg.textconv "$GPG -d ${GPG_OPTS[*]}"
+ elif [[ $1 == "clone" ]]; then
+ [[ -d "$PREFIX" ]] && die "Error: you have a password store in
$PREFIX. Move it out of the way."
+ git "$@" "$GIT_DIR"
elif [[ -d $GIT_DIR ]]; then
git "$@"
else
--
1.9.2
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store