From patchwork Tue Apr 4 01:22:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elijah Newren X-Patchwork-Id: 13198963 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C925C76188 for ; Tue, 4 Apr 2023 01:22:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232445AbjDDBWr (ORCPT ); Mon, 3 Apr 2023 21:22:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbjDDBWl (ORCPT ); Mon, 3 Apr 2023 21:22:41 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C602108 for ; Mon, 3 Apr 2023 18:22:40 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id q19so28067336wrc.5 for ; Mon, 03 Apr 2023 18:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680571359; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:from:to:cc:subject:date :message-id:reply-to; bh=uubwnAxTanaMxF9LO+ZNSELJoo7B/YYCOGh0zo53IBQ=; b=bP5JCTOT8lQ8GV4lyyXJxWdauKjNQq6dDq/oG7XGrRNAvc2V8LSkhI7NwUc6lAwwUU nCkmkAXV5wa9BsAOoy6QnlZGwcg0Jc+aJddtO4gYqsghFJbYAC4tlKng92KXb+Kxkx/t jJmP5EM8SR24uTqBw92z+5xx6blvAvFsGi6kkahxar/tkbjsDE+Gl+Vyh2HLRMu6XsKG sKalC6VLF+EdRFimxgcJwoO2EscAnP9LwnYxGrwmUp/9S6FN1CE+ND/4Ih86Vu1R0nSK N66zoh/nUNsdG5XSUYwAkuAf40RQ/DIjbcsNKdlLcVS4E84AyFrfR24oThif4JSbTixl nczg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680571359; h=cc:to:mime-version:content-transfer-encoding:fcc:subject:date:from :references:in-reply-to:message-id:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uubwnAxTanaMxF9LO+ZNSELJoo7B/YYCOGh0zo53IBQ=; b=tkWbSOqQRAhlY7T4MGkT0xnzNCtgGwHRX5Nt/qC2jG3I3D7TavEJjRgkJYIXxZ0Ue4 V5dL9SqdDnDDhnyNjRjYQMHCXPaCtOBwn7dupgQATf1zQQgedf6/QG+BwAN9jgYC8ozf 1kXBtkQoWqRJU1jNy3I7MbMR8lRnc0E54lgomNyOuxVDxBmzeL0VqIwphljsYj8giLM2 DHJhqNt9aCsMOKp01LMd1UUiRURBXUN/n6AGnXNuIj8GOFJNrXsq6aRnHRfqB1UPiLmS p44Sf67f5rcxlnqSthcWcDcVv2MI9NCjlQ9EAtk+/LLoayNUPH6FcDEkV5Ir4Xc29Eyw gs5w== X-Gm-Message-State: AAQBX9e0oGxOuEkBcb/kBY/ngybxONANiCqATKrbFEU92ZUBzbyab7zc U7pR1qaMP76v4sd0pgtFFwE5VD3rgcE= X-Google-Smtp-Source: AKy350aHg94EJ5U1u+WRSw4/acfU6Dy0QNLW0vkGRPfFoJhhSlSMXN8XSjaFhZN1i2+9L8vEZo1crA== X-Received: by 2002:a05:6000:1292:b0:2cf:ebaa:31a0 with SMTP id f18-20020a056000129200b002cfebaa31a0mr265368wrx.54.1680571358722; Mon, 03 Apr 2023 18:22:38 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id n9-20020a5d4009000000b002d431f61b18sm10828949wrp.103.2023.04.03.18.22.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 18:22:38 -0700 (PDT) Message-Id: <81a9378be43243c063430d6e23b6a0f28dae5d40.1680571350.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Tue, 04 Apr 2023 01:22:09 +0000 Subject: [PATCH v2 05/24] treewide: be explicit about dependence on oid-array.h Fcc: Sent MIME-Version: 1.0 To: git@vger.kernel.org Cc: Calvin Wan , Elijah Newren , Elijah Newren , Elijah Newren Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Elijah Newren From: Elijah Newren Signed-off-by: Elijah Newren --- builtin/bisect.c | 1 + builtin/fetch.c | 1 + builtin/index-pack.c | 1 + builtin/log.c | 1 + cache.h | 1 - commit-graph.c | 1 + diff.c | 1 + merge-ort.c | 1 + read-cache.c | 1 + ref-filter.c | 1 + upload-pack.c | 1 + 11 files changed, 10 insertions(+), 1 deletion(-) diff --git a/builtin/bisect.c b/builtin/bisect.c index 26f07357a03..7dc175c6570 100644 --- a/builtin/bisect.c +++ b/builtin/bisect.c @@ -9,6 +9,7 @@ #include "dir.h" #include "strvec.h" #include "run-command.h" +#include "oid-array.h" #include "prompt.h" #include "quote.h" #include "revision.h" diff --git a/builtin/fetch.c b/builtin/fetch.c index f2b80987751..e0936629213 100644 --- a/builtin/fetch.c +++ b/builtin/fetch.c @@ -12,6 +12,7 @@ #include "refspec.h" #include "object-store.h" #include "oidset.h" +#include "oid-array.h" #include "commit.h" #include "builtin.h" #include "string-list.h" diff --git a/builtin/index-pack.c b/builtin/index-pack.c index ceb0f120ede..5adfb2521cd 100644 --- a/builtin/index-pack.c +++ b/builtin/index-pack.c @@ -19,6 +19,7 @@ #include "packfile.h" #include "pack-revindex.h" #include "object-store.h" +#include "oid-array.h" #include "replace-object.h" #include "promisor-remote.h" #include "setup.h" diff --git a/builtin/log.c b/builtin/log.c index 2ce645eee97..094897df236 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -20,6 +20,7 @@ #include "revision.h" #include "log-tree.h" #include "builtin.h" +#include "oid-array.h" #include "tag.h" #include "reflog-walk.h" #include "patch-ids.h" diff --git a/cache.h b/cache.h index 5f1279454a8..6eac3134a22 100644 --- a/cache.h +++ b/cache.h @@ -11,7 +11,6 @@ #include "path.h" #include "pathspec.h" #include "object.h" -#include "oid-array.h" #include "repository.h" #include "statinfo.h" #include "mem-pool.h" diff --git a/commit-graph.c b/commit-graph.c index 1bf673b1345..fe9a8b2342f 100644 --- a/commit-graph.c +++ b/commit-graph.c @@ -12,6 +12,7 @@ #include "hash-lookup.h" #include "commit-graph.h" #include "object-store.h" +#include "oid-array.h" #include "alloc.h" #include "hashmap.h" #include "replace-object.h" diff --git a/diff.c b/diff.c index 47c1973a504..89cd0b17da5 100644 --- a/diff.c +++ b/diff.c @@ -29,6 +29,7 @@ #include "string-list.h" #include "strvec.h" #include "graph.h" +#include "oid-array.h" #include "packfile.h" #include "parse-options.h" #include "help.h" diff --git a/merge-ort.c b/merge-ort.c index ad7367179d9..9b0b184b130 100644 --- a/merge-ort.c +++ b/merge-ort.c @@ -32,6 +32,7 @@ #include "entry.h" #include "ll-merge.h" #include "object-store.h" +#include "oid-array.h" #include "promisor-remote.h" #include "revision.h" #include "strmap.h" diff --git a/read-cache.c b/read-cache.c index a744eb89e4e..1b585ce8424 100644 --- a/read-cache.c +++ b/read-cache.c @@ -15,6 +15,7 @@ #include "refs.h" #include "dir.h" #include "object-store.h" +#include "oid-array.h" #include "tree.h" #include "commit.h" #include "blob.h" diff --git a/ref-filter.c b/ref-filter.c index df84bb71643..1c6174c8aed 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -7,6 +7,7 @@ #include "refs.h" #include "wildmatch.h" #include "object-store.h" +#include "oid-array.h" #include "repository.h" #include "commit.h" #include "remote.h" diff --git a/upload-pack.c b/upload-pack.c index 71440c63806..e17545a834a 100644 --- a/upload-pack.c +++ b/upload-pack.c @@ -8,6 +8,7 @@ #include "sideband.h" #include "repository.h" #include "object-store.h" +#include "oid-array.h" #include "tag.h" #include "object.h" #include "commit.h"