aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/justfile
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:39 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:39 +0100
commit7771ced1411c3140f5ca17bfe282dc23a949c4a6 (patch)
treee0395de43e1e5e7c68e31f8a2cb01326e2e08bdf /justfile
parent2026f98babdcdd34c09eb59479a02a5603fc70a2 (diff)
downloaddotfiles-7771ced1411c3140f5ca17bfe282dc23a949c4a6.tar.gz
dotfiles-7771ced1411c3140f5ca17bfe282dc23a949c4a6.tar.bz2
dotfiles-7771ced1411c3140f5ca17bfe282dc23a949c4a6.zip
fix(lostfiles): emit parent directories alongside tracked files
lostfiles flags directories whose parent is pacman-owned but the dir itself is not (drop-in dirs like /etc/systemd/{logind,system,user}.conf.d, /etc/systemd/system/getty@.service.d, /etc/pacman.d/hooks). Previous template only emitted tracked files, missing these. Walk each tracked path emitting every ancestor up to /etc, then sort -u. Over-emission of pacman-owned parents (e.g. /etc, /etc/systemd) is harmless: grep -vFx simply finds no match for those lines.
Diffstat (limited to 'justfile')
-rw-r--r--justfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/justfile b/justfile
index b91d266..f8fed9a 100644
--- a/justfile
+++ b/justfile
@@ -18,7 +18,7 @@ sync: apply pkg-fix unit-apply
# Deploy dotfiles AND /etc atomically (chezmoi apply; /etc handled by onchange template)
apply:
- chezmoi apply -S .
+ chezmoi apply -S . -v
# ═══════════════════════════════════════════════════════════════════
# Updates