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

Add option for filtering commits by path #13

Open
iloire opened this issue Jan 23, 2017 · 4 comments · May be fixed by #47
Open

Add option for filtering commits by path #13

iloire opened this issue Jan 23, 2017 · 4 comments · May be fixed by #47

Comments

@iloire
Copy link

iloire commented Jan 23, 2017

I have three components in the same repository. It would be awesome if I could filter them by path (git log -- <path>), so I can generate three different CHANGELOG files (one for each component)

Any plans to add this? Would you accept a PR?

@robinjoseph08
Copy link
Contributor

Yeah, that's a good idea! We'd absolutely be willing to accept PRs.

@altJake
Copy link
Contributor

altJake commented Nov 23, 2017

I think I feel comfortable enough to encounter that, and will give it a try.
One question though, what should we do if there is a conflict between this new subpath option and the output file option?
e.g. if there is also an output file specified in a different than the current folder. I thought to address that this way:

  • If there is an explicit output file specified in a different path than the current directory --> I will use it as is
  • If the output file left defaulted, or is designated to be in the current directory and there is subpath option set --> I will place/work on a file in that provided subpath

@iloire @robinjoseph08 Thoughts?

@altJake
Copy link
Contributor

altJake commented Dec 7, 2017

@iloire @robinjoseph08

Feel free to give a look / try / test / comment / suggest

@picheli20 picheli20 linked a pull request Nov 7, 2018 that will close this issue
@solarmosaic-kflorence
Copy link

This tool is unusable in a monorepo without this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants