-
Notifications
You must be signed in to change notification settings - Fork 5
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
Do not look at unstaged files #2
Comments
Please can we have this? Ideally, it would only look at staged lines. I quite frequently want to keep |
Sure but I don’t have a pull request for this
…Sent from my iPhone
On Oct 13, 2020, at 17:05, Shawn Taylor ***@***.***> wrote:
Please can we have this? Ideally, it would only look at staged lines. I quite frequently want to keep .onlys around between commits.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Also you can always skip per commit hooks with “-n” flag
…Sent from my iPhone
On Oct 13, 2020, at 17:05, Shawn Taylor ***@***.***> wrote:
Please can we have this? Ideally, it would only look at staged lines. I quite frequently want to keep .onlys around between commits.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only consider the staged files when looking for
.only
The text was updated successfully, but these errors were encountered: