Repository navigation
Simplify paude harvest with multiple remotes per session - #255
Merged
Merged
Conversation
Allow harvest to select a branch or ref that is not checked out in the container. Reuse matching ext remotes from the current host repository so multi-repository sessions do not require repeated path and remote flags.
Pass an omitted container path through to the workflow so it can infer that path from a matching ext remote. Discover the current repository when harvest is invoked from a nested working directory.
Fetch explicitly named refs directly and check out FETCH_HEAD so tags, pull request refs, and other full refs do not depend on remote-tracking branch names.
Fetch the selected branch explicitly and reset from FETCH_HEAD. This avoids reusing a stale remote-tracking ref and allows host destinations that are linked Git worktrees.
Treat an ext remote containing a %S marker as unsafe when its command cannot be parsed. This prevents a mismatched container path from bypassing harvest validation and clarifies the inferred CLI defaults.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This cleans up the UX of
paude harvestwhen dealing with paude sessions that contain multiple repos, such as gascity and lots of rigs attached separate from the city workspace at the root.