Skip to content

bug(newTree.fsx): crash if remote branch disappears #325

Description

@knocte

Steps to reproduce:

  1. Launch newTree.fsx someRepo someBranch (someBranch corresponds to a PR)
  2. PR is mergred, and is deleted automatically due to GitHub settings.
  3. Launch newTree.fsx someRepo someOhterBranch

Current results:
Crash with: fatal: couldn't find remote ref refs/heads/someBranch

Expected results:
It should detect missing remote branches and not try to fetch them anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions