Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discover current git repo #3

Open
spencerwilson opened this issue Nov 12, 2019 · 0 comments · May be fixed by #2
Open

Discover current git repo #3

spencerwilson opened this issue Nov 12, 2019 · 0 comments · May be fixed by #2

Comments

@spencerwilson
Copy link
Contributor

spencerwilson commented Nov 12, 2019

Currently the CODEOWNERS-finding algorithm of this app is:

  1. Was a path specified via -c path/to/CODEOWNERS? If so, try to use it.
  2. Otherwise, try codeowners.locate from the cwd.

A more robust alternative to step 2 might be to try to find the root directory of the current repo, then codeowners.locate from that location. This seems like what other git-xyz (the built-in ones, at least) do, so it'd make git-codeowners feel more like a first-party thing alongside those.

@spencerwilson spencerwilson linked a pull request Nov 12, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant