I've inherited some code that is using git log --no-merges --right-only --cherry-pick --since='2 months ago' some_tag..origin/master -- path1, path2, ...
as an initial step in determining commits that are missing from some_tag
. The main problem is it's slow and there is no status.
I can use git log git log --since='2 months ago' origin/master -- path1, path2, ...
to get all the commits added for those paths in the specified time, which is fast. Then I'd like to spawn multiple threads to then check the commits individually, but I'm not sure what the equivalent would be for a single commit. Perhaps generating a patch file and using git apply --check
and git apply --reverse --check
, but I'm not sure that would be equivalent.
Or perhaps there is a more direct way to do it?