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: scan changed files only #234

Open
mikeslattery opened this issue Dec 31, 2022 · 2 comments
Open

feature: scan changed files only #234

mikeslattery opened this issue Dec 31, 2022 · 2 comments

Comments

@mikeslattery
Copy link

mikeslattery commented Dec 31, 2022

ec -changed would be the same as:

ec $(git diff --name-only)

Also add as a configuration option, so it could be the default. I use ec for its speed and convenience, and this feature would further increase those.

It would also be nice if it used go-git so it didn't need to shell out.

@mstruebing
Copy link
Member

That's a great suggestion!
Pull Requests are appreciated, I'm not sure when and if I find the time to implement this.

@sanmai-NL
Copy link

@mikeslattery I think such functionality is better separated into a dedicated tool, such as Lefthook.

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

No branches or pull requests

3 participants