aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTad Fisher <tadfisher@gmail.com>2017-03-16 14:03:31 -0700
committerGitHub <noreply@github.com>2017-03-16 14:03:31 -0700
commit12e151e24d4ad8dbebd7ccc26c02fb8fbfc6c02e (patch)
tree923f7f1b1e956eea4eedc892092ee99112ba2cf4
parentb13ce53fc100b9c18494786deff934cb56ff1535 (diff)
parent6201daacf176008e135a7965d9aef9d4d4f8a0b8 (diff)
downloadpass-otp-12e151e24d4ad8dbebd7ccc26c02fb8fbfc6c02e.tar.gz
pass-otp-12e151e24d4ad8dbebd7ccc26c02fb8fbfc6c02e.zip
Merge pull request #4 from Aimilius/master
Fix git integration
-rwxr-xr-xotp.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/otp.bash b/otp.bash
index 00f57e1..85e167c 100755
--- a/otp.bash
+++ b/otp.bash
@@ -45,6 +45,8 @@ otp_insert() {
[[ $force -eq 0 && -e $passfile ]] && yesno "An entry already exists for $path. Overwrite it?"
+ set_git "$passfile"
+
mkdir -p -v "$PREFIX/$(dirname "$path")"
set_gpg_recipients "$(dirname "$path")"