-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[RFC] effort: Allow sending options to log. Fix #326 #391
Conversation
//cc @spacewander |
This is a good idea. |
@nicolaiskogheim Please go ahead and complete the PR :) |
This is finally working as it should now. The man page and completion remains. I should have that done soon. |
👍 |
All done. |
Hold on a bit. I think I found a way to avoid using Edit: Nope, didn't work. This is ready to be merged in as far as I can tell. |
[RFC] effort: Allow sending options to log. Fix #326
Done. Cool 👍 |
[RFC] effort: Allow sending options to log. Fix tj#326
Putting this up for discussion.
This makes it possible for
git effort
to take other options other than--above
.These get sent to
git log
in effort().So this is possible now:
git effort --since="one year ago" --until="one week ago" --above 10 mydir/*
Invalid options is handled by git log, which I think is nice.
Note though: The original issue wanted to have these options to speed up the process by limiting the commit history, but there is no remarkable performance gain by this as far as I were able to see.
TODO if this is wanted: