[PATCH] add possibility to use git in a sub-folder for multi repo

Martin Weis martin.weis.newsadress at gmx.de
Sat Apr 8 08:34:09 CEST 2017


Hello!

Am 29.03.2017 um 10:20 schrieb Philippe BEAUMONT:
> I currently use password store with multi git repository. All work great
> but the command "pass git" only accept one git repository in the
> ~/.password-store directory.
> 
> So I have create a patch to add the option -C.
> 
> For exemple, if you want to pull the directory ~/password-store/myrepo/,
> just type :
> 
> pass git -C myrepo pull

I do not get what exactly the patch should achieve.
* pushing to more than one repository location?
  you can add repos with git, for pulling leave out --push [1]
  git remote set-url origin --push --add user2 at repo2
* you have a fixed position ($1) for the option?
  I found getopt to be used in pass (didn't get the details, though)



[1]
https://stackoverflow.com/questions/849308/pull-push-from-multiple-remote-locations/12795747#12795747

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170408/22840ff9/attachment.asc>


More information about the Password-Store mailing list