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

specifically override default branch name #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djerius
Copy link

@djerius djerius commented Feb 3, 2023

Setting GIT_CONFIG_GLOBAL to prevent loading of ~/.gitconfig isn't suppoted by all versions of git; on those one may still get test failures if the user has specified a init.defaultBranch configuration value which is different from the test expects.

Explicitly pass it on the 'git' command line to ensure that it is indepndent of the user's configuration.

use the default branch name of 'default-branch' to make it obvious.

Setting GIT_CONFIG_GLOBAL to prevent loading of ~/.gitconfig isn't
suppoted by all versions of git; on those one may still get test failures
if the user has specified a init.defaultBranch configuration value which
is different from the test expects.

Explicitly pass it on the 'git' command line to ensure that it is
indepndent of the user's configuration.

use the default branch name of 'default-branch' to make it obvious.
@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Base: 83.07% // Head: 83.08% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (e36f3b5) compared to base (10425fb).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #122   +/-   ##
=======================================
  Coverage   83.07%   83.08%           
=======================================
  Files          82       82           
  Lines        1891     1892    +1     
  Branches      241      241           
=======================================
+ Hits         1571     1572    +1     
  Misses        219      219           
  Partials      101      101           
Impacted Files Coverage Δ
t/lib/TestFor/Code/TidyAll/Git.pm 96.17% <100.00%> (+0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

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

Successfully merging this pull request may close these issues.

1 participant