Repository navigation
bootstrap.py: a missing tracking branch is not made while any refs/heads/ branch, packed or loose, folds to it, and a twin folds in NFC first, so an NFD name moves no leg, and the way out renames the twin, HEAD's twin included (#962)
#984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
80353dd
bootstrap.py: a leg whose HEAD is on a branch that differs from the t…
48222b5
bootstrap.py: the missing-branch twin lines print the pin's sha and n…
60df34f
Merge origin/main (450279ca, #944) into fix/896-casefold-branch-f
4541529
bootstrap.py: the `switch` line of a twin refusal words the leg's pat…
414e9e0
bootstrap.py: a missing tracking branch is not made while a `refs/hea…
5a435ac
Merge origin/main (ebbd9fa4, #948's squash) into fix/962-create-twins
f1ccedd
bootstrap.py: a missing tracking branch is not made while any `refs/h…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a ref name combines case and canonical-form differences, case folding can itself produce a decomposed result: for example,
Ϊ́andΐfold here toΐandΐ, respectively, which compare unequal even though they are canonically equivalent and alias on a case- and normalization-folding APFS volume._folded_twintherefore misses the twin, allowingcreate_at_pinorfast_forward_to_pinto hide or move the aliased ref and potentially strand its commit or leave a stale index; normalize the case-folded result as well. templates/assembly-root/AGENTS-shape.mdL100-L102Useful? React with 👍 / 👎.