[cfe-dev] [llvm-foundation] [llvm-dev] Sequential ID Git hook

Renato Golin via cfe-dev cfe-dev at lists.llvm.org
Fri Jul 8 09:13:59 PDT 2016


On 8 July 2016 at 01:56, Chris Matthews <chris.matthews at apple.com> wrote:
> With both llvmlab and LNT, once you get to a range of IDs, it is needs to be
> easy to find out what commits or commit range those IDs map to.  When given
> regression between 123 and 225, I need the list of commits, and I don’t want
> to log grep for those numbers. Ideally it should also easy for those tools
> to link to a revision on a webUI like viewvc.

That's as easy as: git rev-list --count hash, relying on the fact that
our history is linear, you just have to do basic arithmetic (on the
umbrella project) to get the final sequence.

All of it can be done on the client, not the server.

cheers,
--renato



More information about the cfe-dev mailing list