From patchwork Thu Mar 31 19:44:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrit Franke X-Patchwork-Id: 12797660 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 AFDDEC433EF for ; Thu, 31 Mar 2022 19:45:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240951AbiCaTq6 (ORCPT ); Thu, 31 Mar 2022 15:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238340AbiCaTq5 (ORCPT ); Thu, 31 Mar 2022 15:46:57 -0400 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B50971E5A47 for ; Thu, 31 Mar 2022 12:45:06 -0700 (PDT) Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=PTpFj7KxnoQhMsy+ZtIqqLrEv7XfEhLXrzOlXJndSua73hhuZqGtlYqHeCdJdSbcJPx4cGWtF0L/op5gidjyQuwzDyvv7MtAC1Hb3V7s7vxhiNftwymIvkK3vu1NVrbi8c11WXAsjt2yd0u2z5PSO2DDBTyEoaoewmogV3f7F+4DeIJpapyfbcz4yISzqa3gn0PHpggsQld8aqYzAsasr4WdhrHjM+LoIP6QnHuigxz29a/zW/oCQ2XZHb0+qflUFep+4EzKxQCXHAZIPSdMWJ9QReG90cV7IJJ19h07qNYJNpS2LSzuoZwj9+juwGhO70fUzDkRORJUYE/bXJ3/Lw==; s=purelymail1; d=slashdev.space; v=1; bh=2pl0evYXhy+G44bQ/88+eVQ80eu0Srsw79VBeK2NBEw=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=FhZd58EbUDTJuSYc/8w2XeG4squH4Xsb1c9dnKZQb8wct9v8DBQBO7MXYedFL/nvcKbjuJmJ4Tt+y35+k2Ia4DnZJerCqPuKwAaXft54CAAPo/7jRaLLSdaEg/HD3uN1+VMQJBDG0/+xvsYd1AT37EcH6ts5BmaBgYTNWzLV2bKhEeAEqaB+rLv4qh0SXfI76OuVic7UlOw4SvkffQ4pTXx7Fl5/SGtGwdUFCYXrVAF7FfP+KMoEo9r5a8qyD2ZXn2dwIIYBsh8vJXvrTPZI4nIYz2ef1SkOfGrZZ6PO9nx1HNoZZKQULnNNctQFmrVZ5/jo+ZMfHZ8+CiHkgxpgqA==; s=purelymail1; d=purelymail.com; v=1; bh=2pl0evYXhy+G44bQ/88+eVQ80eu0Srsw79VBeK2NBEw=; h=Feedback-ID:Received:From:To; Feedback-ID: 6471:1573:null:purelymail X-Pm-Original-To: git@vger.kernel.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -517397822; (version=TLSv1.2 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384); Thu, 31 Mar 2022 19:45:00 +0000 (UTC) From: Garrit Franke To: git@vger.kernel.org Cc: Garrit Franke Subject: [PATCH] bisect.c: remove unused includes Date: Thu, 31 Mar 2022 21:44:36 +0200 Message-Id: <20220331194436.58005-1-garrit@slashdev.space> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Clean up includes no longer needed by bisect.c. Signed-off-by: Garrit Franke --- bisect.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bisect.c b/bisect.c index 9e6a2b7f20..e07e2d215d 100644 --- a/bisect.c +++ b/bisect.c @@ -1,21 +1,12 @@ -#include "cache.h" #include "config.h" -#include "commit.h" -#include "diff.h" -#include "revision.h" #include "refs.h" #include "list-objects.h" #include "quote.h" -#include "hash-lookup.h" #include "run-command.h" #include "log-tree.h" #include "bisect.h" -#include "oid-array.h" -#include "strvec.h" -#include "commit-slab.h" #include "commit-reach.h" #include "object-store.h" -#include "dir.h" static struct oid_array good_revs; static struct oid_array skipped_revs; From patchwork Tue Apr 5 11:45:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrit Franke X-Patchwork-Id: 12801506 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 7DDA1C433F5 for ; Tue, 5 Apr 2022 13:23:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240103AbiDENBb (ORCPT ); Tue, 5 Apr 2022 09:01:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358016AbiDEMfG (ORCPT ); Tue, 5 Apr 2022 08:35:06 -0400 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77770B2474 for ; Tue, 5 Apr 2022 04:46:31 -0700 (PDT) Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=oct+ClOWslXI4pvGmgPz0vpwFM+Mh5/tMjKt9X4oukff1sX86JpJ6DjrZpT0dYRmzQgeq7439sU1bto/13tB80cpERFW2otL8w01+vA5MiDOdoGH0l6ZGuFgRe5Mn6S+9dB8GKkVmEEkLhEBHFViIm3PIrJy+NLWQeVzxJbhqJqs5Vu8XSyEnrgCozAVf+Pnh2eENwUbt7helko8631F2InyloecoTzUvRr8EkcuJWHshal2ln2yCuTOhJMRWlCdVA2DDf8bKqTiUK9a1tqcS4vFakt0ZA1/ECvGZGq0Ht9Ot9IUi4ofA2L46IwJlY9IfFawbal7i8jMoNq21ZkLow==; s=purelymail1; d=slashdev.space; v=1; bh=I74dogiLLRXzqjRgyFG4iBHB6jWtAFe56Oou1CE9Eh8=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=KDEI1HccWP60ReblKhI0SJWy4xC43sFxBWchWQSTglDGGvvpooTVzY/fKk3GCuXdBoiwDwblNEMMq+cM1yLGXyEv61uJZ+/gDbSRyO5zTWzvA2R2IGrGNX4tp65Hv1bbHPQUNTftq36o+MsfsSiJxOEecKF36AzqY1tmsXECxa3Wk5TT9NJLKXtEz1mtypawv/6RftrLPc1sc7IuL5HHNghDqvzWqm8tC31sWet8Kl0QZQ2yOnptMirlelIEx0zFGqr9RBAY/yt8T54Q+JrYdD8V1o4eYSYe/5JO1OD5ouaKN1Ff4qWIhCJo+7DkHAk0FoLtVI6xQ2xyvF8PpGlB0g==; s=purelymail1; d=purelymail.com; v=1; bh=I74dogiLLRXzqjRgyFG4iBHB6jWtAFe56Oou1CE9Eh8=; h=Feedback-ID:Received:From:To; Feedback-ID: 6471:1573:null:purelymail X-Pm-Original-To: git@vger.kernel.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 981976735; (version=TLSv1.2 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384); Tue, 05 Apr 2022 11:46:21 +0000 (UTC) From: Garrit Franke To: avarab@gmail.com Cc: garrit@slashdev.space, git@vger.kernel.org, gitster@pobox.com Subject: [PATCH v2 2/4] bisect.c: remove unnecessary include Date: Tue, 5 Apr 2022 13:45:06 +0200 Message-Id: <20220405114505.24389-3-garrit@slashdev.space> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331194436.58005-1-garrit@slashdev.space> References: <20220331194436.58005-1-garrit@slashdev.space> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Remove include "hash-lookup.h". Signed-off-by: Garrit Franke --- bisect.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bisect.c b/bisect.c index 9e6a2b7f20..1aced76257 100644 --- a/bisect.c +++ b/bisect.c @@ -6,7 +6,6 @@ #include "refs.h" #include "list-objects.h" #include "quote.h" -#include "hash-lookup.h" #include "run-command.h" #include "log-tree.h" #include "bisect.h" From patchwork Tue Apr 5 11:45:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrit Franke X-Patchwork-Id: 12801501 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 901E9C43217 for ; Tue, 5 Apr 2022 12:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237774AbiDENAY (ORCPT ); Tue, 5 Apr 2022 09:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385595AbiDEMfv (ORCPT ); Tue, 5 Apr 2022 08:35:51 -0400 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEAAABB90F for ; Tue, 5 Apr 2022 04:46:41 -0700 (PDT) Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=kyFIRV8Yk+vKlBc6WSc4g7eX3qORqTF56YEXGYZNXY+hCHIg9rq9P5L7SsFFsfBhBfvDCDXBFa6/mFnsJMhen45/mQbpAdL0wvsyQIggID3Ry4zCN1DN1wISB2NfWL34keIivaaMmWi0oLU8e/rtkiVtmOHZs/Plcmkh0e4LIOaWmWFyD6dXYPUYKhBzqwzIWK+NOLCApujbnKA8W1fJRejV+1UWTCGpoeQ2m9if0+XvEwehe5v43hk9uj2zGPlP7u20Y+vhEU5KLDqWZti6eVD0tdJ2ClQBd7dcKZD4D+iWnt2xbj0exbWO3EeqmOXy4sR0CGk+2U7QvXddoS05zA==; s=purelymail1; d=slashdev.space; v=1; bh=N1A4Rz6kINleLuc7ui9LwPc1VElS0nzLRpnTrMQ3xq0=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=g66J28CfuaW8mYjtKKfXk3Y1VwGJ8j57vfQFEHCykb9nlDW8HZbpX2r6PCfI6X/9kHUDgUNfn3VoITDhRlIrp/RjO03whxbWffGHC+X4lopfv6I8eDTbbQzdeyGfPKkhaSPh5E34dPCHTt3aDOXKR96cXUuN1E7xsWUZgJFm8m0HicKvqOZx56+fAbAE+f9hoHQVGxeaUbDPqOXFshBAKelBT6/MiLRaSTmS7ZmrUiPRqepaX+wqKQNX1QcBdCjPNG7UDnBXvStFSlbo3JzcG41OknGDARhFwj//B3N+4xNS71wXSBvWCvjoFXuVbHyWcXo7V2NMyjJaLnEtjGmYOw==; s=purelymail1; d=purelymail.com; v=1; bh=N1A4Rz6kINleLuc7ui9LwPc1VElS0nzLRpnTrMQ3xq0=; h=Feedback-ID:Received:From:To; Feedback-ID: 6471:1573:null:purelymail X-Pm-Original-To: git@vger.kernel.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 981976735; (version=TLSv1.2 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384); Tue, 05 Apr 2022 11:46:31 +0000 (UTC) From: Garrit Franke To: avarab@gmail.com Cc: garrit@slashdev.space, git@vger.kernel.org, gitster@pobox.com Subject: [PATCH v2 3/4] serve.c: remove unnecessary include Date: Tue, 5 Apr 2022 13:45:08 +0200 Message-Id: <20220405114505.24389-4-garrit@slashdev.space> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331194436.58005-1-garrit@slashdev.space> References: <20220331194436.58005-1-garrit@slashdev.space> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Remove include "strvec.h" from serve.c, which is orphaned since f0a35c9ce52 (serve: drop "keys" strvec, 2021-09-15) Signed-off-by: Garrit Franke --- serve.c | 1 - 1 file changed, 1 deletion(-) diff --git a/serve.c b/serve.c index b3fe9b5126..733347f602 100644 --- a/serve.c +++ b/serve.c @@ -3,7 +3,6 @@ #include "config.h" #include "pkt-line.h" #include "version.h" -#include "strvec.h" #include "ls-refs.h" #include "protocol-caps.h" #include "serve.h" From patchwork Tue Apr 5 11:45:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Garrit Franke X-Patchwork-Id: 12801500 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 5BA95C4332F for ; Tue, 5 Apr 2022 12:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237064AbiDEM7O (ORCPT ); Tue, 5 Apr 2022 08:59:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1385643AbiDEMgZ (ORCPT ); Tue, 5 Apr 2022 08:36:25 -0400 Received: from sendmail.purelymail.com (sendmail.purelymail.com [34.202.193.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17020BF022 for ; Tue, 5 Apr 2022 04:46:51 -0700 (PDT) Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=c6rWcB1xs90LaadaBlcWvw+L5lD66QawBzamABMSdOjbv70y+2LtTYkyegdyKfZfhwHZU84ah2fGKd3h7ZlZArQ86FdVl+oJ/9Yi2LxrIPIt2KqR35jANUR5lLjYfNT5Jd7aKr8Y2hCpOZkNEHOhwz/SQLvitSdHN3OVt1arqD7VOnXYZWbYx5z62g3qjgnVzSOSG+lB9isrJ9KVF2/FkQvR8cpvgYtBIjeD2l3k0sqFnweGqMj0newHzHIyshOeIhHOvGZk5UEasVjminqpWnBuln0QKwQAUZqbKLm7ceBFUK+G8UmXjKf936sx2+PLdD1q8Z+M87WPkfOFcyUANQ==; s=purelymail1; d=slashdev.space; v=1; bh=vvgNGa088fzWJCwM8kqWAimEWLbQb16GGS7OwkeaelY=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=U/r6CAsS6W5pvEBoLgI6A0M5d/n8NxEvaVC6DA3qcHrLUfNElFdH0yW8rJV4ksB/40w0vSHczm774mBzVW/lmZRdoqsf1lp06KX2yTijilCzdgFb49M8hhrjXtFDrVAYw/1V3i1rXjHBmaH3tUAUEDWNrVxRhOnHihuufuKm2Qt0sVv0SESxkZs6FlyoY4pjkYIIViuxyjXdGkHb6pd1+zFi4OYM0dxqMPgizovjD57B+7AX6osHb8DrW+Goa86O2YMHckWyWC+R8bAM4pdJwR6udOSuLZFFESHJDEo5P41pCeuvJRptnlyrqBIgP/1lyHPckyW7CzduERwqfV0iPQ==; s=purelymail1; d=purelymail.com; v=1; bh=vvgNGa088fzWJCwM8kqWAimEWLbQb16GGS7OwkeaelY=; h=Feedback-ID:Received:From:To; Feedback-ID: 6471:1573:null:purelymail X-Pm-Original-To: git@vger.kernel.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 981976735; (version=TLSv1.2 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384); Tue, 05 Apr 2022 11:46:41 +0000 (UTC) From: Garrit Franke To: avarab@gmail.com Cc: garrit@slashdev.space, git@vger.kernel.org, gitster@pobox.com Subject: [PATCH v2 4/4] apply.c: remove unnecessary include Date: Tue, 5 Apr 2022 13:45:10 +0200 Message-Id: <20220405114505.24389-5-garrit@slashdev.space> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331194436.58005-1-garrit@slashdev.space> References: <20220331194436.58005-1-garrit@slashdev.space> MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Remove include "lockfile.h" from builtin/apply.c, which is orphaned since 6d058c88264 (apply: move lockfile into `apply_state`, 2017-10-05) Signed-off-by: Garrit Franke --- builtin/apply.c | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin/apply.c b/builtin/apply.c index 3f099b9605..555219de40 100644 --- a/builtin/apply.c +++ b/builtin/apply.c @@ -1,7 +1,6 @@ #include "cache.h" #include "builtin.h" #include "parse-options.h" -#include "lockfile.h" #include "apply.h" static const char * const apply_usage[] = {