From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.168.172.159 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796071742; b=ef+Q0+82IYr3/n+d599A4RKk3bpK0UdKaoZWIVMAXiWbI+CLwGGrtThcW8RiFQnJYNYH YJYDnnlWtpKT47vsFfSAMDemj+tvHW652uaKXfhE5pqilou/kvp9dHJ8OcxwogQhtJA4Z kbLzuRO9eb2g759nI6asqeKYTqPjBBAsqMmpbG5qGQVfrfkFdfWjLE8J/9XgX+I0q+LGX FYqq95IwZW4eKj5B3zbC03AVEigDjuOBKh+Thk46zukBA5HAe5dpsWCHNhxNxeFgoYWl6 OD0t8KSDgR4mxELoym6cs0+yDTtKAbsWukJlEy4+ToJrzLX4kuyL0E6QXk/J8d37oJA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796071742; h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature: X-DKIM2-Info:DKIM2-Signature:X-DKIM2-Info:Message-Instance: X-ME-Sender:X-ME-Received:X-ME-Proxy-Cause:X-ME-Proxy:Feedback-ID: Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:MIME-Version:Content-Transfer-Encoding; bh=ERG3Ob9h8Dferw/nr0lA24uUazY57z3tyCQEvVbRRjA=; b=pAO+4fGy3g8K5TRqncNnD7lKdnncKH9Jojg+QwZdKpAr5R2btbK5vhf96ZORSs5LNoMw ITHf8VXLqJvqnoaW/FP1J/O1mN6X6dzOutlKYc6H7F0gh4bhraafpOLJJwDw+i2HnYXXz oKeTrJSuqhnReUchx8PXKtAaSfMkdfi9/G0uXbp+vWYK4a3uR2NNFUioFUe7zoTs6ZZIa zLUcnMHV+mXJYWMpkVUOKQJFQjyR7eoAtmcPPc2h3LdjN7u6tthEiBJwZES/IfedKSv2y /f6QxHrMd4Qu5daOTIqqwcT1U4uJknUwN01k0YHfmbmhazu6gOCz9pdKIK2h0wfqoaw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=fastmail.com; spf=pass smtp.mailfrom=fastmail.com; dkim=pass header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=HS3VQRyK; dkim=pass header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=DGopAYpf; arc=none smtp.remote-ip=103.168.172.159 Received: from fhigh-a8-smtp.messagingengine.com (fhigh-a8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0B3A606A31A for ; Mon, 30 Nov 2026 20:49:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org B0B3A606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fastmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=fastmail.com header.i=@fastmail.com header.a=rsa-sha256 header.s=fm3 header.b=HS3VQRyK; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=DGopAYpf Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id E39A514008F2 for ; Mon, 30 Nov 2026 15:49:00 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 30 Nov 2026 15:49:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1796071740; x= 1796158140; bh=ERG3Ob9h8Dferw/nr0lA24uUazY57z3tyCQEvVbRRjA=; b=H S3VQRyK30De4me2iec+yPo5dtPEZx8QDTSLqUynRGtAnuqYC0k/dcpBa9MO/36t3 b7KBoe5ojQfBrGpH1yFp2apw9hK1KF3LbPSbP9xvm30jK1e2o+J9nnB0OXHW7upF KCXUbrcnTFFZPYai+DLULFfpjnw2KcGiD2pqZM0BZPXMOVOR7sYAMOeGp0OL8PYq LAXeeUQn4PFq4DvlPzj0CnnnKPcW7Q+Ntbgra4OQgtoRDbOYn8+fphzHaFYBcUMz KJP24h8w1wJShjaYTZFDDMKpz7z0StiNSFELC+o3qCOFiS+aBcCmiUEKx7hzu85n N1FqaXYksq671F5WyoSqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1796071740; x=1796158140; bh=E RG3Ob9h8Dferw/nr0lA24uUazY57z3tyCQEvVbRRjA=; b=DGopAYpfVqRtOZ8d8 FDiwMfNZf2f1QuIGWxdWwx43o0VcCIWhwDad8hjeJnhAX/jP3s0Gm1pM2Y6X/mHm U/LfzeLqQL36T/6LVWBBaY9iX85Rl4VVUtNa8rFxbqgV8nHutSr7BAatlJy0kkGb DQwVBYARETYiU0wZr1hCBZYXUWmooX+hMmcRufO3aWVz4/jK2hEc3snsspAFdXXs BCMT5rvusfkxDlLNpZXQNux1LT8HkCdmOIazV+YX7DqlT8cdL6COwYZK2TslqTMp 91hWnoNxIEOfIaBsX+01s09WpF72z1krJJGAr/xztuNSiEM50dbeTMc9TNEP7fxb bbiJQ== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=sign d=fastmail.com a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1796071740; d=fastmail.com; mf=PG1hcmtjaHVjYXJyb2xsQGZhc3RtYWlsLmNvbT4=; rt=PGdpdEB2Z2VyLmtlcm5lbC5vcmc+; s=fm3:rsa-sha256:gMfkLkl8y8/P2dtTHoFRSyTAoW7b6cdFH82hkOihV+/J0TJ KIHmRy3AdLpevAFrG6dcK7EzB524wqvpwKxDs2OUXcdiMtl9u1YQGPkcDUbzURDN wSLEqw7mhEdjBG+1YVtE/hxSfHfEOwt4Qe3vSlw+IeeZ9dntIiJasQtFhxPc8tFR UPn4ua07Rnq2y8RHB6xMbpLhLtvGUQRzsYCv1z7vc1Z1nqfKJmqjJZkNRL/AABeq XVik+fSU055MsKQpU8LLTYdIjsZfrW7tI+eod2dbeBnUVykyj5uHOzumSu3ZUQaq EZYR9EHjga83OkTrUrIPLRzS03+93gVyYiJMSeQ==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-09; repo=github.com/dkim2wg/interop; date=2026-11-03; sw=lmtpprox; action=mi-m=1; hc=11; hn=cc,content-transfer-encoding,date,feedback-id,from, in-reply-to,message-id,mime-version,references,subject,to; Message-Instance: m=1; h=sha256:pzyPaqqmYuMFdHn+CNayhB5nzuBjNPKQgUfhtk1vJ1o=:7D78Oj32vxg85TUVJjO8aP2JIpKQrzzxsZnIHCk+iXQ=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFzKGsNXoyZKd1Ac6VI94wvz7hjvm0ji+YxyxuzZ1alt2T6zYGVAYNTT4OODdGGH0 iY12pcQWakVCElmyv/x7IfPgG//xP3ZwrxnS8EQp+IKEM/NVrKsbO9Gc9SHabNbfC/hZFl wmHFS5B4cufBfREbSiZmpYQkScgPgp9Pi2Cm6mzQYq6zGlblMvBb8BQ7YM660cIzsjTStR F3Bt/iBN3dr8DXBz+lUxRwDRf9jLpz71B8vJVwavosrJvLC9dHSmR8QvKOYkU9cE9ypWmM 0LwR69n6p9v5/nqbuYzG47pYHCPVXmPmU87wO2sZsROywpcaS+2HHL+h7o5KFbpKinGKqK /WRntCHU1PUrKP8OAlqC+dyeLOkewsWIEtg/vhXcwUfQfLrgGc+cuJRIK50/kXXiE4MwC2 eRVJ3tgGxOdsZZfMYWqRzGCLxGyQEOvR+sgtkKvqp+O6wH2xHOeEo5mxWRPZOVCpI8kgdo yJFB6rf7FiTZNqhaGnlDzEnVm4Wbya10UDTcIRau063Qjo6UMbJCCnp4p/8xgluNyFaCr9 sDFL05JQyY4Cf+dm71fze9QjNt2katelsu8kqvL1otvnXCMPfbucPFuVfD6Ml4vgPEAII/ S0jLrV/XATqtDLsNVHPaAaTIG1wQpG/8ZtwdFmkZrO1MTlOkWMbq8QrqdAFw X-ME-Proxy: Feedback-ID: id2564aa6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Nov 2026 15:49:00 -0500 (EST) From: "Mark C. Chu-Carroll" To: gitster@pobox.com, git@vger.kernel.org Cc: jltobler@gmail.com, ps@pks.im, "Mark C. Chu-Carroll" Subject: [PATCH v9 0/1] repo: add revision filtering options to "repo structure" Date: Mon, 30 Nov 2026 15:48:58 -0500 Message-ID: <20261130204858.3538546-1-markchucarroll@fastmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261118203519.2379494-1-markchucarroll@fastmail.com> References: <20261118203519.2379494-1-markchucarroll@fastmail.com> X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit "git repo structure" provides a collection of useful information about the information stored in a repo. In particular, it's valuable for diagnosing performance issues caused by large objects stored in a repo. The current implementation of "git repo stucture" provides summary information about everything in the repository - all of the branches, remotes, tags, stashes, and notes. But sometimes to properly diagnose a problem, it's useful to be able to get information about the specific part of the repo that's exhibiting a problem. Add the option to specify a set of revs. If revs are included, then the set of objects processed will be limited based on the rev specification; otherwise, all objects will be processed. Differences from v8: - Fix command line argument processing of "--" and non-version rev args. - Clean up resources on error before exit. Mark C. Chu-Carroll (1): repo: add filtering options to "repo structure" Documentation/git-repo.adoc | 31 +++++- builtin/repo.c | 35 +++++-- t/t1901-repo-structure.sh | 197 ++++++++++++++++++++++++++++++++++++ 3 files changed, 250 insertions(+), 13 deletions(-) -- 2.53.0