The no-marks index shortcut never fires because repositories use index version 4 #140
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ethan-hann/SavePoint#140
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
ClearSkipWorktreeAsync skips its ls-files call when the index header says version 2, since only version 3 and up can hold skip-worktree marks. RepoConfigFile sets index.version to 4, so the header is always 4 and every switch, discard and capture still runs the listing. Check the setting first, then either read the extended flags cheaply (a version 4 index still sets a header flag per entry) or drop the shortcut and its tests.
Shipped in 0.9.12 (pull request 144).