> > 2. git adds and commits have to take place in the right repo.
>

This should be easily doable, assuming git>=1.8.2 (if memory serves).
Something like this (completely untested):

    git -C "$(dirname \"$passfile\")" add "$passfile"

Since git already does the walking up to the nearest working directory
ancestor.
_______________________________________________
Password-Store mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to