Repository navigation
setup-project.py: a passed-through --dry-run makes none of the preflight's offers and --shape-ref is held to git's rule part by part, so a rehearsal no longer writes git's global config and a.lock/b is refused before the clone (#857)
#873
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
16 commits
Select commit
Hold shift + click to select a range
9f429f4
setup-project.py: a project name typed at the prompt is checked as `-…
b3c77cc
setup-project.py: the typed project name's prompt, empty-line refusal…
854f6ed
setup-project.py: a refused value names the check it failed, a projec…
b5def3f
tests/test_setup_project_name_edges.py: the typed runs give git a cre…
050abea
setup-project.py: the prompt takes only the space off a typed name, a…
892ffd9
Merge branch 'main' into fix/729-typed-project-name
brettheap 946b135
Merge branch 'main' into fix/729-typed-project-name
brettheap 6400cf4
Merge #756's final head 946b1354 (landed as 4dea85e)
f1dbbbf
Merge #756's squash 4dea85e after it landed, taking the branch's side…
b6f56ca
tests/test_setup_project_name_edges.py: the credential helper's entry…
79a33f1
setup-project.py: a passed-through `--dry-run` makes none of the pref…
ac57006
tests/test_setup_project_ref_parts.py and tests/test_setup_project_dr…
3795a6e
Merge branch 'main' into fix/777-typed-name-edges
brettheap 2a6a15d
Merge #811's final head 3795a6e5 (landed as bc36233)
0774ad6
Merge #811's squash bc36233 after it landed, taking the branch's side…
e41a38a
Merge branch 'main' into fix/857-setup-dry-run-offers
brettheap 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
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 an invalid ref such as
a.lock/bis supplied through the documentedcurl … setup.shentry point, this new validation is reached only aftersetup.shhas cloned the repository and attempted the checkout. The shim's guard atsetup.sh:235-268still accepts these values, so the run performs the clone and terminates with Git's raw pathspec error instead of the promised pre-clone refusal; update the shim's mirrored check as well.AGENTS.md reference: AGENTS.md:L55-L61
Useful? React with 👍 / 👎.