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

Fix a relative/absolute path bug with includes #187

Merged
merged 2 commits into from
May 11, 2021

Conversation

kasium
Copy link
Contributor

@kasium kasium commented May 11, 2021

In the current implementation, the include option worked on the absolute path which makes no sense, because the path should be relative to the current git path.
This fix changes the usage from absolute_path to path. Also it adds some notice to the documentation.

In the current implementation, the include option worked on teh absolute path which makes no sense, because the path should be relative to the current git path.
This fix changes the usage from absolute_path to path. Also it adds some notice to the documentation.
@kasium
Copy link
Contributor Author

kasium commented May 11, 2021

Hey,
I'm sorry to introduced this bug. I have found no nice way to test it, since I need a temporary directory so that I can create all files, but glob works on the current working directory implicitly. So I need to change the cwd in the test...

@Bachmann1234
Copy link
Owner

thanks for the fix! Ill get this released asap

@Bachmann1234 Bachmann1234 merged commit ca34606 into Bachmann1234:master May 11, 2021
@Bachmann1234
Copy link
Owner

@kasium kasium deleted the fix-include-bug branch May 11, 2021 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants