From: H. Peter Anvin Date: Wed, 24 Feb 2016 01:40:45 GMT Subject: Re: [RFC/PATCH 1/1] format-patch: add an option to record base tree info Message-ID: <56CD0A1D.9050207@zytor.com> In-Reply-To: <87bn77hzbp.fsf@x220.int.ebiederm.org> On 02/23/2016 01:49 PM, Eric W. Biederman wrote: > > So I could really respect a patch header line that said: > tree abcdef0123456789...0123456789abcdef > > Where the numbers where the truncated tree hash before and after a patch > was applied. That would seem to give a little bit of extra sanity > checking in the application of git diffs as well. > I would rather have the untruncated base tree ID. The truncated file IDs already provide the verification component, and it is *way* cheaper to search for an untruncated ID. -hpa