Skip to content
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

fix(git_branch): correct variable name for remote branch #3897

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

davidkna
Copy link
Member

Description

When I was implementing #3883, I noticed the $remote variable referenced in the default git_branch module format string does not exist. I replaced it with $remote_branch (though I am not sure what the original intent was) and simplified the format string by merging the remote and local style segments.

I also added a test because there wasn't any test for this feature.

Motivation and Context

Closes #

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants