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

Use consistent case on commit scopes #54

Closed
simonrenoult opened this issue Jun 9, 2016 · 4 comments
Closed

Use consistent case on commit scopes #54

simonrenoult opened this issue Jun 9, 2016 · 4 comments

Comments

@simonrenoult
Copy link

simonrenoult commented Jun 9, 2016

I find a bit silly to end up with several scopes (eg: https://github.com/rafinskipg/git-changelog/blob/master/EXTENDEDCHANGELOG.md README vs readme) simply because the scope has been written with different cases. Couldn't it be uppercased/lowercased (or maybe have an option to enable that?)

@rafinskipg
Copy link
Owner

yay, it makes sense.

Also the "grep" option maybe can do the trick for now,

git log --grep="%s" -E --format=%s %s..' + (this.options.branch ?

If you can send a grep that accepts both uppercase and lower case, it will work.

Can you try that? @simonrenoult

@alampros
Copy link

You can use the -i flag for git log (see man)

@rafinskipg
Copy link
Owner

@alampros thanks!

@simonrenoult its done! i'll release a patch

@rafinskipg
Copy link
Owner

But I see that it did not work as expected. I should take more time 💃

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

No branches or pull requests

3 participants