Skip to content
Snippets Groups Projects

fix(issue): fix using issue commands from non-git dir

Merged Vitali Tatarintev requested to merge 1423-fix-not-a-git-repo-for-some-issue-commands into main
All threads resolved!

Description

Allow using issue commands from a directory without git initialized.

Here is more detailed explanation on why this is happening #1423 (comment 1502644171)

Related Issues

Resolves #1423 (closed)

How has this been tested?

From any directory with no git initialized in it, run glab issue subscribe <ISSUE_URL>. That also affects several other issue subcommands, such as: unsubscribe, close, reopen, and delete.

Screenshots (if appropriate):

Screenshot_2023-08-08_at_10.32.32

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Closes #1423 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • James Liu approved this merge request

    approved this merge request

  • requested review from @shekharpatnaik

  • Shekhar Patnaik approved this merge request

    approved this merge request

  • Shekhar Patnaik resolved all threads

    resolved all threads

  • Shekhar Patnaik started a merge train

    started a merge train

  • Shekhar Patnaik mentioned in commit 1af82d6c

    mentioned in commit 1af82d6c

  • Please register or sign in to reply
    Loading