Skip to content

properly handle hashes and numbered args in branch.diff arg parser#6142

Merged
aryairani merged 4 commits intotrunkfrom
26-01-26-diff-branch-hash
Jan 27, 2026
Merged

properly handle hashes and numbered args in branch.diff arg parser#6142
aryairani merged 4 commits intotrunkfrom
26-01-26-diff-branch-hash

Conversation

@mitchellwrosen
Copy link
Member

Overview

Fixes #6141

This PR tweaks the branch.diff arg parser to properly handle hashes and numbered args that expand to hashes.

Test coverage

I tested this manually

@mitchellwrosen mitchellwrosen marked this pull request as ready for review January 26, 2026 18:41
@aryairani
Copy link
Contributor

@mitchellwrosen I want to merge this, but it needs coverage in a transcript (unless is there some nondeterminism that I'm overlooking?)

@mitchellwrosen
Copy link
Member Author

@aryairani Added

@aryairani
Copy link
Contributor

@mitchellwrosen Sweet

@aryairani
Copy link
Contributor

@mitchellwrosen Wait, can you add coverage for the numbered args part too. Coverage for all the parts 🚀

@mitchellwrosen
Copy link
Member Author

@aryairani Done

@aryairani
Copy link
Contributor

Perfect, thanks

@aryairani aryairani merged commit 7a39f7f into trunk Jan 27, 2026
31 checks passed
@aryairani aryairani deleted the 26-01-26-diff-branch-hash branch January 27, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

branch.diff: allow numbered args and hash arguments

2 participants