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

[bugfix] Fix error when running with submodules #194

Merged
merged 2 commits into from May 14, 2022
Merged

Conversation

caitlinelfring
Copy link
Member

@caitlinelfring caitlinelfring commented May 6, 2022

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features) see docs/README.md

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix

What is the current behavior? (You can also link to an open issue here)
.git/info/exclude is explicitly listed as an "gitignore" file when building the list of patterns that will be ignored when running woke. It's causing issues when using submodules, since the ignorer library woke uses will recursively search for these ignore files, but submodules .git is actually a link and causes woke to fail.

What is the new behavior (if this is a feature change)?
In a newer version of the go-git library that woke uses to compile the ignore patterns, parsing .git/info/exclude is handled by default and is not needed explicitly within woke anymore.

Does this PR introduce a breaking change? (What changes might users need to make due to this PR?)
No

Other information:
Fixes #192

Pull in get-woke/go-git#1 which adds including .git/info/exclude automatically
@caitlinelfring caitlinelfring marked this pull request as ready for review May 6, 2022 01:58
@caitlinelfring caitlinelfring merged commit 68daeec into main May 14, 2022
@caitlinelfring caitlinelfring deleted the fix/192 branch May 14, 2022 23:04
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.

woke check fails for git submodules
1 participant