Skip to content

[BUG] PR Info Flag Without Git Context Still Fails Early #1224

@eureka0928

Description

@eureka0928

Project

cortex

Description

Even when only requesting PR info (not checkout), git repo is required.

Error Message

Debug Logs

System Information

Windows 11

Screenshots

No response

Steps to Reproduce

  1. Run cortex pr --info 123 outside git repo

Expected Behavior

Should be able to view PR info without being in a repo

Actual Behavior

Error: Not a git repository

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcortexIssues related to CortexLM/cortex repositoryduplicateThis issue or pull request already existsvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions