houseabsolute / perl-code-tidyall

Engine for tidyall, your all-in-one code tidier and validator
https://metacpan.org/release/Code-TidyAll/
Other
21 stars 31 forks source link

specifically override default branch name #122

Open djerius opened 1 year ago

djerius commented 1 year ago

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[bot] commented 1 year ago

Codecov Report

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

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 ```diff @@ 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](https://codecov.io/gh/houseabsolute/perl-code-tidyall/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=houseabsolute) | Coverage Δ | | |---|---|---| | [t/lib/TestFor/Code/TidyAll/Git.pm](https://codecov.io/gh/houseabsolute/perl-code-tidyall/pull/122?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=houseabsolute#diff-dC9saWIvVGVzdEZvci9Db2RlL1RpZHlBbGwvR2l0LnBt) | `96.17% <100.00%> (+0.01%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=houseabsolute). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=houseabsolute)

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