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
Description
Filed by @unluisco as atom/status-bar#227
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
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
- open atom in --safe mode
- open a git project without any commit
- 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