Skip to content

Conversation

@Byron
Copy link
Member

@Byron Byron commented Jan 12, 2025

Offer a function in gix::Repository to find the remote and the upstream tracking branch matching a local tracking branch.

This is done by trying all available refspecs and finding a remote which matches uniquely.

Tasks

@Byron Byron force-pushed the better-refspec-primitives branch from 022540d to a5236cf Compare January 13, 2025 09:23
Byron added 3 commits January 13, 2025 10:33
Note that this also reverses renames `MatchGroup::match_remotes()` to `::match_lhs()` for consistency and to get away from the rather confusing usage of words like local and remote.
…ranch()` It's a way to learn about the Remote and upstream branch which would match the given local tracking branch.
@Byron Byron force-pushed the better-refspec-primitives branch from a5236cf to da0e1c7 Compare January 13, 2025 09:33
@Byron Byron marked this pull request as ready for review January 13, 2025 09:48
@Byron Byron merged commit af8f201 into main Jan 13, 2025
20 checks passed
@Byron Byron deleted the better-refspec-primitives branch January 13, 2025 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants