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

config: add init.defaultBranch to the config #178

Merged
merged 2 commits into from Oct 30, 2020

Conversation

@tomlazar
Copy link

@tomlazar tomlazar commented Sep 30, 2020

Adds a new struct to the Config struct that includes the init.defaultBranch variable as mentioned here

init.defaultBranch
Allows overriding the default branch name e.g. when initializing a new repository or when cloning an empty repository.

@mcuadros
Copy link
Member

@mcuadros mcuadros commented Oct 9, 2020

Can you provide some tests? Thanks!

@tomlazar
Copy link
Author

@tomlazar tomlazar commented Oct 9, 2020

added a couple more tests for other functions in the config package, but most of the functions in there are pretty well covered, let me know if you want me to something for one of the other pacakges!

@mcuadros mcuadros changed the title Add init.defaultBranch to the config config: add init.defaultBranch to the config Oct 30, 2020
@mcuadros mcuadros merged commit d525a51 into go-git:master Oct 30, 2020
7 of 9 checks passed
7 of 9 checks passed
@github-actions
test (master, ubuntu-latest)
Details
@github-actions
version-matrix (1.13.x, ubuntu-latest)
Details
@github-actions
version-matrix (1.13.x, macos-latest) version-matrix (1.13.x, macos-latest)
Details
@github-actions
test (v2.11.0, ubuntu-latest) test (v2.11.0, ubuntu-latest)
Details
@github-actions
version-matrix (1.13.x, windows-latest)
Details
@github-actions
version-matrix (1.14.x, ubuntu-latest)
Details
@github-actions
version-matrix (1.14.x, macos-latest)
Details
@github-actions
version-matrix (1.14.x, windows-latest)
Details
coverage/coveralls Coverage decreased (-0.9%) to 83.761%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants