-
-
Notifications
You must be signed in to change notification settings - Fork 235
fix(releases): handle partial SHAs correctly in commit resolution #2734
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
29 commits
Select commit
Hold shift + click to select a range
d0c6e74
fix partial sha & add tests
srest2021 eeadf4f
update tests
srest2021 501e432
linter
srest2021 2355ec6
linter
srest2021 cdd97cc
make git test consistent with other tests
srest2021 713678c
move git test out of mod
srest2021 b662ada
use find_matching_rev
srest2021 04df02d
preserve partial sha when sending to api
srest2021 6dad2ac
linter
srest2021 fd030f2
rename
srest2021 651c7c2
clean up comments
srest2021 e5983dc
fix logic & tests
srest2021 43830ac
fix test
srest2021 7c165ff
linter
srest2021 898af8a
Merge branch 'master' into srest2021/REPLAY-413
szokeasaurusrex 6cc111f
only valid full & partial SHAs accepted
srest2021 8b900ad
Merge branch 'master' into srest2021/REPLAY-413
srest2021 acf91a5
revert prior changes
srest2021 40b1f39
linteR
srest2021 9859a9c
Update src/commands/releases/set_commits.rs
srest2021 85d334c
soft validation
srest2021 8ddca69
linter
srest2021 6ecf8b0
Merge branch 'master' into srest2021/REPLAY-413
srest2021 116ce99
update validaton & help
srest2021 2c4f96e
Update src/commands/releases/set_commits.rs
srest2021 4dd3548
Update src/commands/releases/set_commits.rs
srest2021 6d3fa1c
add 64 char constant
srest2021 c515e78
Update src/constants.rs
srest2021 307ed46
Make the example SHA have hex chars only
srest2021 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
Some comments aren't visible on the classic Files Changed page.
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
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.
Bug: Command Change Breaks Implicit Commit Discovery
The
set_commits
command now bypasses auto-discovery when no--commit
arguments are provided. Previously,find_heads()
would still be called, allowing implicit commit discovery. This change may break existing workflows that relied on that behavior.