Skip to content

[BUG] pr --info doesn't work without being in a git repository #1382

@xyz080125

Description

@xyz080125

Project

cortex

Description

The --info flag which should just show PR details still requires git context

Error Message

Debug Logs

System Information

$ bounty info
Bounty Challenge v0.1.0
OS: Linux 6.8.0-87-generic (Ubuntu 24.04.3 LTS)
CPU: Intel Core i7
RAM: 16 GB
Cortex Version: 0.1.1

Screenshots

No response

Steps to Reproduce

  1. Navigate to non-git directory
  2. Run cortex pr 123 --info

Expected Behavior

--info should work anywhere with --token

Actual Behavior

Requires git repository even for info-only operation

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcortexIssues related to CortexLM/cortex repositoryvalidValid issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions