Skip to content

branch: reports .gitignore excludes a file that git check-ignore does not match #21

Description

@lenamonj

On the go-nvml #207 clone, housebroken branch . --base upstream/main printed REFUSED: pkg/dl/dl_linux_test.go is added by this branch and the repository's .gitignore excludes it. git check-ignore -v pkg/dl/dl_linux_test.go prints nothing and the repository's .gitignore has no rule matching it. The check should be git check-ignore --no-index on each added path against the repository's own ignore files, and the refusal should print the matching rule and line so the reader can falsify it.

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