copier-org / copier

Library and command-line utility for rendering projects templates.
https://readthedocs.org/projects/copier/
MIT License
2.07k stars 182 forks source link

fix: get_git_objects_dir compatible with git 2.30.2 #1838

Closed ap-wtioit closed 1 month ago

ap-wtioit commented 1 month ago

fixes https://github.com/copier-org/copier/issues/1837 by using pathlib logic to get an absolute path

info @wt-io-it

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.66%. Comparing base (89ecc2f) to head (c7553eb). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1838 +/- ## ========================================== - Coverage 97.72% 97.66% -0.06% ========================================== Files 49 49 Lines 5229 5229 ========================================== - Hits 5110 5107 -3 - Misses 119 122 +3 ``` | [Flag](https://app.codecov.io/gh/copier-org/copier/pull/1838/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=copier-org) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/copier-org/copier/pull/1838/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=copier-org) | `97.66% <100.00%> (-0.06%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=copier-org#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.