Skip to content

ngit is broke #20

@nyx-4

Description

@nyx-4

Explaination?

The ngit show-ref --verify is broken.

Example:

ngit show-ref --verfiy refs/head/main

Expected behavior

47fb43ca47a74bc1dea6a819e6154f404c8d9a5d refs/heads/main    # if ref is okay (status: 0)
fatal: 'refs/heads/master' - not a valid ref                # if ref don't exist (status: 128)
fatal: git show-ref: bad ref refs/stupid/ref (47fb33ca47a74bc1dea6a819e6154f404c8d9a5d)    # if ref is broken (status: 128)

Current behavior

WONKY!! Fix this in later releases or just remove --verify from ngit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions