You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The nd git status subcommand should usually display some branch information on top of the tree containing changed files. Running this command on a new branch or a new repository will display an error instead of the branch information.
Expected Behavior
This subcommand should successfully display branch information and upstream branch information, if applicable.
Actual Behavior
An error message appears in lieu of the branch information.
Steps To Reproduce
git checkout a new branch or create a new Git repository locally.
Run nd git status.
An error should be displayed on top of the tree containing changed files.
Traceback/Output
Could not get repository HEAD!
# The Git status tree is displayed here.
# ...
# ...
# ...
Additional Context
I need to revisit the git2 crate and figure out a different way, or perhaps how to handle different conditions, to go about extracting branch and upstream branch information from a Git repository.
The text was updated successfully, but these errors were encountered:
JosephLai241
added
bug
Something isn't working
beta
This issue or feature should be resolved or implemented before an official release
labels
Aug 24, 2022
Describe The Bug
The
nd git status
subcommand should usually display some branch information on top of the tree containing changed files. Running this command on a new branch or a new repository will display an error instead of the branch information.Expected Behavior
This subcommand should successfully display branch information and upstream branch information, if applicable.
Actual Behavior
An error message appears in lieu of the branch information.
Steps To Reproduce
git checkout
a new branch or create a new Git repository locally.nd git status
.Traceback/Output
Additional Context
I need to revisit the
git2
crate and figure out a different way, or perhaps how to handle different conditions, to go about extracting branch and upstream branch information from a Git repository.The text was updated successfully, but these errors were encountered: