https://github.com/quark-zju/gitrevset
A domain-specific-language to select commits in a git repo. Similar to Mercurial's revset.