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

[feature request] Enable tracking multiple paths #7

Open
tony19 opened this issue Jul 20, 2022 · 2 comments · May be fixed by #8
Open

[feature request] Enable tracking multiple paths #7

tony19 opened this issue Jul 20, 2022 · 2 comments · May be fixed by #8
Labels
enhancement New feature or request

Comments

@tony19
Copy link
Contributor

tony19 commented Jul 20, 2022

Currently, ryo-cho only tracks commits to a specified directory (via path-starts-with), but it would be nice to track multiple paths. This would enable tracking both ./docs/ and the Markdown in the root of the project (i.e., ./CONTRIBUTING.md and ./README.md).

Perhaps we should add an includes configuration to ryo-cho that accepts an array of glob patterns.

@tony19 tony19 changed the title [feature request] Sync files by pattern [feature request] Enable tracking multiple paths Jul 20, 2022
@kiaking
Copy link
Member

kiaking commented Jul 21, 2022

Good idea! I think we can rename path-starts-with to paths and accept array of paths. I think I'll not be able to tackle this soon but PR is welcome!

@kiaking kiaking added the enhancement New feature or request label Jul 21, 2022
@tony19 tony19 linked a pull request Jul 21, 2022 that will close this issue
@tony19
Copy link
Contributor Author

tony19 commented Jul 22, 2022

@kiaking See #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants