[READ-ONLY] Mirror of https://github.com/just-cameron/tangled-cli. Automation-first CLI for Tangled.org

getGitRepoContext gives the repository the clone pushes to, whatever -R selects

getCurrentRepoContext answers with --repo/-R or TANG_REPO when either is set, so a command had no way to ask which Tangled repository the local remotes point to once another was selected. A pull request from a fork needs both: the repository it is opened in, and the one its head branch was pushed to. The git-remote half of getCurrentRepoContext is now getGitRepoContext, which getCurrentRepoContext falls through to when nothing overrides it. Seen red first: getGitRepoContext with TANG_REPO set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


Author Sebastian Co-author Claude Opus 5.5 Committer Tangled Date Commit Parent 30bdc088
+41
2 changed files
+41
2 changed files