fix: page hint for comment list, keep SSH settings on re-login, hard-link-free downloads, stable OWNER/REPO#N instance (follow gh)

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 20:03:15 +02:00
1 parent dfb56eae67
commit 8305a89531
11 files changed
+154 -10

No files matched your search

+5
View File
@@ -209,6 +209,11 @@ func (a *application) repositorySource(ctx context.Context, t *target, s setting
if err := a.agreesWithRepoFlag(req, s.Hosts.Hosts); err != nil {
return "", err
}
if a.options.repo != "" && !a.namesInstance(req.repo) && a.namesInstance(a.options.repo) {
// The argument agrees with --repo and only lacks its instance.
t.RepoSource = "--repo"
return a.options.repo, nil
}
t.RepoSource = req.repoSource
return req.repo, nil
}