I'd like to be able to tell between two Grit::Commit objects, which is newer. What I mean by newer is that if commit_A is a parent (or parent of a parent,etc) of commit_B, then commit_B is newer. This assumes that commit_A and commit_B are on the same branch.
I thought about using Grit::Commit#date(), but I think this'll be inaccurate.
Any ideas?
Here is what I ended up implementing. See comments for explanation.
Performance is dog slow, but it was worse when using repo.git.rev_list(via method_missing).