rsc / github

BSD 3-Clause "New" or "Revised" License
101 stars 21 forks source link

issue: allow configurable default or default to current repo origin #4

Open bmizerany opened 7 years ago

bmizerany commented 7 years ago

Currently, issue defaults to the golang/go repo and there exists no way to change this. This means those using issue and not working on that repo must frequently supply a -p user/repo. I think it would be nice if issue was a little "smarter" about the repo I'm interested in and so I propose adding smarter defaults using the following rules, each overriding the next:

I'm not married to the git config names.

rsc commented 7 years ago

I understand the default is bad for programmers outside the go repos. But in the subrepos we still want golang/go, without additional configuration just for this command. Perhaps instead:

?

bmizerany commented 7 years ago

SGTM! I can work on this change later in the week and send a PR. Should I send PRs to this repo or is there a Gerrit install I should send a CL to?