cli/git
Mislav Marohnić d534a94d1b Change how base repository is resolved
On first run in a git repository, `BaseRepo()` will now prompt the user
which repository should be queried as base repository if there are
multiple git remotes or when we are in the context of a fork.

In non-interactive mode, the prompt is skipped and we default to the
first git remote instead.

After the base repo is resolved, the result is cached in the local
repository using `git config` so that RepositoryNetwork API lookups can
be avoided in the future.
2020-09-15 21:27:12 +02:00
..
git.go isolated clone command 2020-07-23 16:40:31 -05:00
git_test.go isolated clone command 2020-07-23 16:40:31 -05:00
remote.go Change how base repository is resolved 2020-09-15 21:27:12 +02:00
remote_test.go Eliminate package-level state in git remote parsing 2019-10-25 21:48:25 +02:00
ssh_config.go Code fixes informed by golangci-lint failures (#738) 2020-04-03 16:33:34 +02:00
ssh_config_test.go redundant type composite literal 2020-06-12 04:23:51 +08:00
url.go Tighten git remote URL parsing 2020-09-04 16:18:26 +02:00
url_test.go Tighten git remote URL parsing 2020-09-04 16:18:26 +02:00