Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

null git branch in status-bar #1672

Open
@smashwilson

Description

@smashwilson

Filed by @unluisco as atom/status-bar#227

Prerequisites

Description

I started a new git project from the terminal, I have not yet made the first commit, but in the status bar appears the icon of the null branch, when I switch to other tabs, for some reason the branch icon disappears.

Steps to Reproduce

  1. open atom in --safe mode
  2. open a git project without any commit
  3. check the status-bar

Expected behavior: the master branch should appear, and when switching between tabs, it should not disappear the icon.

Actual behavior: the master branch does not appear, instead it indicates that there is no branch (null). and when switching between tabs, the branches icon disappears.

Versions

Atom    : 1.30.0
Electron: 2.0.5
Chrome  : 61.0.3163.100
Node    : 8.9.3

Additional Information

Here is a video to see the problem.
git branch
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpapercutSmall-scope issues and bugs we can use to backfill our sprint plansregression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions