⚡ Sangsakala Proxy 🏠 Home
Skip to content

Display correct HEAD detached text in git status #198

Open

Description

@ianthomas23

If we have a detached HEAD situation, such as after a git checkout HEAD~1, the git2cpp status result is:

$ git2cpp status
On branch HEAD
Nothing to commit, working tree clean

Using git the output is more explicit:

$ git status
HEAD detached at 79e894b
Nothing to commit, working tree clean

and the HEAD detached at is red.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions