Open Zkaij opened 1 year ago
Thanks for raising this issue.
I think there maybe a bit of confusion here. From what I understand skip-worktree
operates on the index file, which will be per working copy of the local repo.
So when you say in step 2. "on an external application" could you please provide more detail exactly how you are doing that?
I used the Termux app on the same device to run the command. Would that not apply to the same index file? It certainly seemed to do something, given that it changed the listing in the Status pane (i.e. removed the flagged files from those changed), which indicates that something isn't right here.
It seems that the 'Auto stage modified files' option ignores the
skip-worktree
flag. Flagged files are staged and committed despite not appearing on the Status listing.To Reproduce Steps to reproduce the behavior:
skip-worktree
flag on the file (usinggit update-index --skip-worktree [filename]
on an external application)Expected behavior File should not be staged nor committed.
Smartphone: