X-Git-Url: https://git.madduck.net/etc/myrepos.git/blobdiff_plain/27a089887774ef811c9da9beb0e0087aceed7625..763007161449be22405046b4d37c7a64ca020200:/.config/myrepos/available.d/pass.conf diff --git a/.config/myrepos/available.d/pass.conf b/.config/myrepos/available.d/pass.conf new file mode 100644 index 0000000..c0787fb --- /dev/null +++ b/.config/myrepos/available.d/pass.conf @@ -0,0 +1,16 @@ +[$HOME/.password-store] +checkout = mkdir -p $MR_REPO && cd $MR_REPO && git init && + for host in albatross fishbowl lotus; do + [ $(hostname) != $host ] || continue + git remote add $host ${host}:${MR_REPO#$HOME/} && + git pull --rebase ${host} refs/heads/master + done +update = __branch="$(git name-rev --name-only HEAD)" && + git branch -ar | grep "$__branch" | while read ref; do + git pull --rebase "${ref%/$__branch}" refs/heads/"$__branch" + done; unset __branch +fixups = for i in checkout merge commit; do ln -sf ../../export-database $MR_REPO/.git/hooks/post-$i; done + +[${XDG_CONFIG_HOME:-$HOME/.config}/vcsh/repo.d/pass.git] +checkout = vcsh clone madduck-anon:etc/pass.git +