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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

#branch name should default to current branch instead of master #638

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

jcouball
Copy link
Member

@jcouball jcouball commented Mar 2, 2023

Your checklist for this pull request

馃毃Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

Currently, when getting a branch, the default branch name returned is 'master' even if no branch of that name exists.

This PR changes the behavior of Git::Lib#branch to use the current branch name instead of 'master' as a default.

Signed-off-by: James Couball <jcouball@yahoo.com>
@jcouball jcouball changed the title Branch object name should default to current branch instead of 'master' Branch name should default to current branch instead of 'master' Mar 2, 2023
@jcouball jcouball changed the title Branch name should default to current branch instead of 'master' #branch name should default to current branch instead of 'master' Mar 2, 2023
@jcouball jcouball changed the title #branch name should default to current branch instead of 'master' #branch name should default to current branch instead of master Mar 2, 2023
@jcouball jcouball merged commit 3dda040 into master Mar 2, 2023
@jcouball jcouball deleted the default_to_current_branch branch March 2, 2023 20:59
This was referenced Mar 4, 2023
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

1 participant