summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-02-09 13:26:18 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-02-09 13:26:18 -0700
commit17e2b5c69c62a865a8d1ef3a88d9a138399d2890 (patch)
treee6d1e889a7fda38f6dee4bd4e9e3a402aee3c015 /lib-src
parent13097e7f0e499f1b7b79ad747f66ae0938491b3d (diff)
downloaddotfiles-17e2b5c69c62a865a8d1ef3a88d9a138399d2890.tar.gz
add git-update-index(1) calls for lib/priv and src/athpriv
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/mr/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib-src/mr/config b/lib-src/mr/config
index e6e7509f..c1a020ae 100644
--- a/lib-src/mr/config
+++ b/lib-src/mr/config
@@ -160,6 +160,8 @@ checkout = git clone athenag:libpriv.git priv
update = git annex sync --content cloud origin
push = git annex sync --content cloud origin
sync = mr autoci && git annex sync --no-commit --content cloud origin
+pre_status = git update-index -q --refresh \
+ .passwddb.pet .labbook.gpg .gnupg/pubring.kbx
fixups =
chmod 600 \
.passwddb.pet .gnupg/*.kbx .gnupg/private-keys-v1.d/*.key .ssh/id_*
@@ -191,6 +193,7 @@ pre_update = on athena || git annex sync origin athenah
pre_push = on athena || git annex sync --content origin athenah
post_update = hstow restow ~/src/athpriv
post_checkout = hstow stow ~/src/athpriv
+pre_status = git update-index -q --refresh News/*.ADAPT News/*.SCORE
skip = ! mine
post_checkout =