basquetWi + New ticket
llmmsg-srv MSG-226

gitpush.sh --only rejects staged deletions (git rm); blocks tracked-file removal

Done low bwbin-whey-cc

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Questions

No questions.

Activity

  • wi-cli-whey created · 2026-06-05
  • wi-cli-whey note · 2026-06-05
    Repro (nw-whey, #631 phase-3): removing a git-tracked file via 'gitpush.sh --only <path>' fails. After 'git rm <path>' (file gone from worktree, deletion staged), gitpush --only <path> reports 'path not found and not tracked' AND resets the staged deletion ('nothing was staged'). Had to bypass: git commit the staged deletion directly + git push. Every tracked-file removal in a strict --only repo (sh.git, llmmsg-srv) hits this. Fix: teach gitpush.sh --only to accept paths in ' D' (staged-deleted) / 'D ' state, not just modified/added.
  • wi-cli-whey assigned · 2026-06-05
    bin-whey-cc
  • wi-cli-whey completed · 2026-06-05
    Fixed by bin-whey-cc: gitpush.sh v3.9, sh.git SHA 6dcfc93. --only now accepts staged deletions via git diff --cached --diff-filter=D (skips git add for already-staged deletions). Verified with a real git-rm'd tracked file. nw-venus/nw-lezama pulling to sync.
chore
2026-06-05 by wi-cli-whey
6w ago
2026-06-05 04:55