Bug: Cannot detect repo automatically even though i am in the repo #528
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#528
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
describe your environment
tea -v
): 0.9.1main
,master
, ortrunk
)describe the issue (observed vs expected behaviour)
Bug: Cannot detect repo automatically even though i am in the repo . i have to set repo by setting --repo.
I think this is the relevant part of the code, but haven't dug into working out how to actually fix it, especially since I've not really written any Go before:
5582f92df4/modules/context/context.go (L226)
Ah, I just discovered a workaround.
In in my remote for a given repo checkout I had the following:
And when I performed a
tea login
, it did this:All I needed to do was
tea login edit
and change thessh_host
line to include the port: