From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 2DDBA1F466 for ; Wed, 5 Feb 2020 12:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727458AbgBEMaU (ORCPT ); Wed, 5 Feb 2020 07:30:20 -0500 Received: from cloud.peff.net ([104.130.231.41]:52994 "HELO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726961AbgBEMaU (ORCPT ); Wed, 5 Feb 2020 07:30:20 -0500 Received: (qmail 16408 invoked by uid 109); 5 Feb 2020 12:30:19 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with SMTP; Wed, 05 Feb 2020 12:30:19 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 7090 invoked by uid 111); 5 Feb 2020 12:38:36 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Wed, 05 Feb 2020 07:38:36 -0500 Authentication-Results: peff.net; auth=none Date: Wed, 5 Feb 2020 07:30:18 -0500 From: Jeff King To: Taylor Blau Cc: git@vger.kernel.org, dstolee@microsoft.com, gitster@pobox.com, martin.agren@gmail.com Subject: Re: [PATCH v2 0/5] commit-graph: use 'struct object_directory *' everywhere Message-ID: <20200205123018.GB55322@coredump.intra.peff.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Mon, Feb 03, 2020 at 01:17:53PM -0800, Taylor Blau wrote: > Here is a re-roll of the series in this thread to replace string-based > path comparison in 'commit-graph.c' code with raw pointer comparison of > 'struct object_directory *'s. > > The only thing that has changed substantially since v1 is that I swapped > the order of patches 2/6 and 4/6. What was patch 3/6 got folded into > what is now patch 2/5. This resolves an inconvenience where we had to > define a helper function in 'commit-graph.c', when it really belonged in > 'builtin/commit-graph.c'. > > I took a few other suggestions from Martin in what is now patch 4/5, and > noticed a few other small things along the way. A range-diff since v1 is > included below. Thanks, I read over this and the new layout looks quite good. -Peff