Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info
From: Fengguang Wu
Date: Tue Feb 23 2016 - 04:32:37 EST
On Tue, Feb 23, 2016 at 01:23:19AM -0800, H. Peter Anvin wrote:
> On 02/23/16 01:17, Fengguang Wu wrote:
> >
> > However we are facing a new situation: in test robot POV, IMHO there
> > are values to test exactly the same tree as the patch submitter.
> > Otherwise the robot risks
> >
> > - false negative: failing to apply and test some patches
> > - false positive: sending wrong bug reports due to guessed wrong base tree
> >
>
> Wouldn't the important part here be the git hash, rather than the tree?
> If you have the same hash then it by definition is the same contents?
Yes. Sorry for the partial wording! We should be talking about the
same thing: the hash of the tree object. The commit SHA1 will also
do the work.
Thanks,
Fengguang