Skip to content

Discover current git repo #3

Description

@spencerwilson

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions