[pass] multiple .git repos in any of the subdirectories

Pavel Ruzicka ruza at ruza.eu
Mon Nov 3 13:02:02 CET 2014


Hi there,

This is how i patched latest version of the pass script to be able to
have .git in any of the subdirectories. Patch attached.

HOW: function find_git_dir() gets $passfile path and tries to find first
.git directory in all of the subdirectories in the path up to $PREFIX

WHEN: function find_git_dir is called from any function that should
generate a commit (cmd_insert, cmd_edit, cmd_git)

ruza

-- 
e-mail:  ruza at ruza.eu
www:   http://ruza.eu
     http://brmlab.cz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: password-store-git.patch
Type: text/x-patch
Size: 2930 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20141103/93c48059/attachment.bin>


More information about the Password-Store mailing list