-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No longer shows git current branch #809
Comments
It happens in every git repo. If there is no package.json nothing is displayed. I downloaded v1.2 and everything works as expected. Output:
|
Hm, that's strange. Just checked and the content of |
This seems to be a Windows environment issue. The redirect in the io.popen statement in the get_git_branch function in cmd.lua is causing the lines() function to return nothing in some cases. One computer (that doesn't have the issue):
Another computer running the same LUA and git:
You can remove the "2>nul" as a work-around for now. |
Cmder v1.2.9 no longer shows the current branch in git. Instead it shows the name and version from package.json.
The text was updated successfully, but these errors were encountered: