-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
Fix #1025 using git rev-parse to get the relative path inside git repo #1026
Conversation
Thanks for the PR! Since this is a platform-specific fix, could you change this to an if clause with a code comment on why this is necessary? Something like:
|
Codecov Report
@@ Coverage Diff @@
## master #1026 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 20
Lines 646 651 +5
Branches 146 148 +2
=========================================
+ Hits 646 651 +5
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please edit the commit to include code comments explaining why this is necessary, according to this commit #1026 (comment)
This is only to make the code more readable and maintainable, thanks!
Done. Hope the intend is clearer now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will merge this as fix: detect git repo root correctly on cygwin
Thank you for your contribution, @tkalmar! |
🎉 This PR is included in version 11.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 11.3.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fix #1025
Idea for solution is from: pypa/setuptools-scm#415