On Thu, Oct 24, 2013 at 11:11 AM, Nasser Grainawi <nasser@xxxxxxxxxxxxxx> wrote: >>> It is not clear to me how you envision to make it work. >> >> I don't have the source code. > > Now you do: https://gerrit.googlesource.com/gerrit/+/master/gerrit-server/src/main/resources/com/google/gerrit/server/tools/root/hooks/commit-msg Thanks. So you do have tree sha-1 by running "git write-tree". But at that point I'm not sure if cache-tree is written down to disk yet, so write-tree could be more expensive than necessary (one good point for building --change-id in). -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html