summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-03 16:12:45 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-03 23:15:32 -0700
commit1017e90e4b117df5871fe6447fb6587a5bd98cb5 (patch)
treeae248f95a442f4d710c357d4dd39a4890666b152 /lib-src
parent37815c8bda4a88df6103d68e1b117a68bd24da19 (diff)
downloaddotfiles-1017e90e4b117df5871fe6447fb6587a5bd98cb5.tar.gz
speed up hstow's restowing, restow in post_update actions
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/mr/config8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib-src/mr/config b/lib-src/mr/config
index d10504f0..19d18e8c 100644
--- a/lib-src/mr/config
+++ b/lib-src/mr/config
@@ -128,10 +128,6 @@ pre_push =
git rebase master
fi
fi
-# Restowing is expensive, and most dangling symlinks into ~/.STOW do no harm,
-# so we leave it to be run manually -- bstraph stows but does not restow.
-# Possibly restowing could be done by locmaint, or we could have hstow skip
-# annex/ and src/, into which I don't stow anything.
fixups = bstraph
# --- private dotfiles repositories
@@ -141,7 +137,7 @@ checkout = git clone athenag:libpriv.git priv
update = git annex sync --content cloud origin
push = git annex sync --content cloud origin
post_update =
- hstow stow ~/lib/priv
+ hstow restow ~/lib/priv
load-trustdb
sync = mr autoci && git annex sync --no-commit --content cloud origin
skip = lazy
@@ -187,7 +183,7 @@ pre_update = mr autoci
checkout = git clone demeterp:athpriv athpriv
pre_update = on athena || git annex sync origin athenah
pre_push = on athena || git annex sync --content origin athenah
-post_update = hstow stow ~/src/athpriv
+post_update = hstow restow ~/src/athpriv
post_checkout = hstow stow ~/src/athpriv
skip = ! mine