From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751645AbcBWJce (ORCPT ); Tue, 23 Feb 2016 04:32:34 -0500 Received: from mga09.intel.com ([134.134.136.24]:41850 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbcBWJca (ORCPT ); Tue, 23 Feb 2016 04:32:30 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,488,1449561600"; d="scan'208";a="657723878" Date: Tue, 23 Feb 2016 17:32:21 +0800 From: Fengguang Wu To: "H. Peter Anvin" Cc: Junio C Hamano , Xiaolong Ye , git@vger.kernel.org, ying.huang@intel.com, philip.li@intel.com, julie.du@intel.com, Linus Torvalds , "Eric W. Biederman" , Christoph Hellwig , Dan Carpenter , LKML Subject: Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info Message-ID: <20160223093221.GC7150@wfg-t540p.sh.intel.com> References: <1456109938-8568-1-git-send-email-xiaolong.ye@intel.com> <1456109938-8568-2-git-send-email-xiaolong.ye@intel.com> <20160223014741.GA21025@wfg-t540p.sh.intel.com> <20160223091740.GA3830@wfg-t540p.sh.intel.com> <56CC2507.7060300@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56CC2507.7060300@zytor.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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