./deploy use --intend-to-add on call to git add

This commit is contained in:
Emile Clark-Boman 2026-01-29 14:40:18 +10:00
parent ba1a3fe07e
commit 3a5e6dcbed

3
deploy
View file

@ -19,7 +19,8 @@ collect_garbage () {
rebuild_flake () {
# make sure all changes are visible to nixos
git add . --verbose
# (--intent-to-add tracks files but DOES NOT stage them)
git add . --intent-to-add --verbose
local FLAGS=
if [ "$1" = "reinstall-bootloader" ]; then
FLAGS="--install-bootloader"