From patchwork Sun Sep 19 01:48:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elijah Newren X-Patchwork-Id: 12504057 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F97CC433EF for ; Sun, 19 Sep 2021 01:49:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7373C60F21 for ; Sun, 19 Sep 2021 01:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234858AbhISBuZ (ORCPT ); Sat, 18 Sep 2021 21:50:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232465AbhISBuX (ORCPT ); Sat, 18 Sep 2021 21:50:23 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E22A8C061757 for ; Sat, 18 Sep 2021 18:48:58 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id z184-20020a1c7ec1000000b003065f0bc631so12919408wmc.0 for ; Sat, 18 Sep 2021 18:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=tSc0od6Az6ENc+HVeZwXnecYX2Us13ykcu0YSknwnAA=; b=cq3773BcwAeJU5GZ8J4Vr4FDtp2cTKWT2stkKRMMtJCO8ag/00VxHEY05QEYwh4JRU bVH2L9gHZoNBp7NwyeNk6mZjidKhosmNEu0vRnAdNjYs5rFvERzm6aviuYu1aK/Z/OV4 EMIXC2+koAYYIpbQSWpS749lKEuyBoJOX1X0+fm53icQM9LCrw7qDmXcTn7+X7RCcHfb zMt9K+I4FXq0o7GG3ajEnPAgtcgmFDXLYSRht4wTeuUydE5yOTSVwlUtcAJeJHvqSZnr c6+xLkl/Kd8nq2wdemIPz4/nRcgaJfjQtJKPW5auslH+jpor7Y18VWAVOsqEMgQkfGsy V+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=tSc0od6Az6ENc+HVeZwXnecYX2Us13ykcu0YSknwnAA=; b=YiNpngo5HPJmSwO1Jq6mRpOpbdg7mogh4RUg6krIGSUeT+KBolpvSzAr2VgHo6nYCK sRvhPgzif3DU3aN3par6fmnYlgoClomWsv0W13cjclDgTTv92Uw2SU9JY1q0PjI6Or6W WJ0lQionsoevxPitZuIuzM5KRG/a5wnsud4VbGR4dAHtzqMRR/CjYY+tg1EV0558Y1rp Ys3RJswX3QbxYFsJ2T8PhoQ9UwzbypDwR4HjYx+n/KHjL3kbIrpU0C8qDXz1xYmY/FQI IRv7B9UwgXdQiHSaXeekegNAcDA9axrBJC3H33qCfm2ioluzn+y+31XgsM0afr8P9vUd 2RCQ== X-Gm-Message-State: AOAM530tBR0I17TI4Q8DrwSMxRi/Lhvybdzijmo1LpCWb1KMB6bURrl6 DRox6N8tcFkcdvQLHvtBnF+wApRxIpI= X-Google-Smtp-Source: ABdhPJy9MC0b2Ll3F/s+xlu4hiRkEH+R3ZOUXaCUt0lcjgvaOeqFk1bTWflq+8YQ4M6ZnfY75JhzsQ== X-Received: by 2002:a1c:4406:: with SMTP id r6mr22487252wma.150.1632016137524; Sat, 18 Sep 2021 18:48:57 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id u29sm8662468wru.34.2021.09.18.18.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 18:48:57 -0700 (PDT) Message-Id: In-Reply-To: References: Date: Sun, 19 Sep 2021 01:48:54 +0000 Subject: [PATCH 1/2] trace2.h: fix trivial comment typo Fcc: Sent MIME-Version: 1.0 To: git@vger.kernel.org Cc: 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 --- trace2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace2.h b/trace2.h index 9b7286c572f..2f450ab5bed 100644 --- a/trace2.h +++ b/trace2.h @@ -350,7 +350,7 @@ void trace2_def_repo_fl(const char *file, int line, struct repository *repo); * being started, such as "read_recursive" or "do_read_index". * * The `repo` field, if set, will be used to get the "repo-id", so that - * recursive oerations can be attributed to the correct repository. + * recursive operations can be attributed to the correct repository. */ void trace2_region_enter_fl(const char *file, int line, const char *category, const char *label, const struct repository *repo, ...); From patchwork Sun Sep 19 01:48:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Elijah Newren X-Patchwork-Id: 12504059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D14CC433F5 for ; Sun, 19 Sep 2021 01:49:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 83815610CF for ; Sun, 19 Sep 2021 01:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234892AbhISBu1 (ORCPT ); Sat, 18 Sep 2021 21:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234449AbhISBuY (ORCPT ); Sat, 18 Sep 2021 21:50:24 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7034BC061574 for ; Sat, 18 Sep 2021 18:48:59 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id d6so21821806wrc.11 for ; Sat, 18 Sep 2021 18:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=SLdCF+Ngdbza+qtXe71urI0mP8rSvHuNJLe06Z3AODQ=; b=iE5mi119MIFTg0q6QdOXbd8FocDN6QZR+zp8fVLo7nvi44VVXakrDWI78s7jRF0AxM WfSKvcPIajl6fUj9C4yTN1a6Qg8rdBJvn5b1s9nvf8oK9Z4sz2JMh8aYY3bMFSXMc4AG xGLFPYNCdovPHWdaZrorQxDu6IWZU2xCj2KINnO8ghhFVDMTDYkcHt+RyBhugttGDahM WPyZiITSTm8NZ0+odAMin93dM6UkAf00pZQYJ1TKMeEWLVyPEb0vZMUOZnxMmxWxYFQz cKRq5qdcpRKxeQAzsMi/ai/sNHwd/ZYT2R1JfEDPTxi4xh6JwtI71BnEGgg21Zc01qPc ZXAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=SLdCF+Ngdbza+qtXe71urI0mP8rSvHuNJLe06Z3AODQ=; b=d9mJJssZhiEIXCpj8SKtuWdw77eFskyncxDpCj1KRVir48LSP/F2hjYcNOdhaK/M8C PGag11lVpc/mET6XM3wMk8tluVQNAj1Smyr02n8j5HKlp0qki/ZxTu04SjB3yT3cR7kj f4BQZdZSK+DpTrSDi0DefKPRPAKNcPmS5QTDkVkEZ9fmdWmZKAWrxHSPgEOkhOTHsPxf YAZhCmISRxSgmntT6A18e0pRYgYb3eA/rNjXiK/YRlF3+vZmTljykBgXIomF2VPq4aYC EqYmZhaN073j3EgC2fvPxgot3vCbFqL8JNIVQeSXZH/xcUbHAAkPkwgZjwKDVMKASWj/ Ei6w== X-Gm-Message-State: AOAM532RvrTGsYKxdVUz0EYpZ+LMAtpEyhsMzR/jutcyPL4yGhmqdb3h M41m/PqtcXH3EeKQfWxPE/YucR6ElaQ= X-Google-Smtp-Source: ABdhPJwbCcPs4wiHl3P+GQ8nGF5BAoRWuAFpH959Z4KIli97BjYNw67/QXYmwYV/yeQC2MikYOt+2Q== X-Received: by 2002:adf:e74b:: with SMTP id c11mr20756668wrn.101.1632016138065; Sat, 18 Sep 2021 18:48:58 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id c17sm13805613wrn.54.2021.09.18.18.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Sep 2021 18:48:57 -0700 (PDT) Message-Id: <5dd56d0c5366eaac1d235ce374358ad0f072c617.1632016135.git.gitgitgadget@gmail.com> In-Reply-To: References: Date: Sun, 19 Sep 2021 01:48:55 +0000 Subject: [PATCH 2/2] merge-ort: fix completely wrong comment Fcc: Sent MIME-Version: 1.0 To: git@vger.kernel.org Cc: Elijah Newren , Elijah Newren Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Elijah Newren From: Elijah Newren Not sure what happened, but the comment is describing code elsewhere in the file. Fix the comment to actually discuss the code that follows. Signed-off-by: Elijah Newren --- merge-ort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merge-ort.c b/merge-ort.c index 515dc39b7f6..841196cf728 100644 --- a/merge-ort.c +++ b/merge-ort.c @@ -4081,7 +4081,7 @@ static int record_conflicted_index_entries(struct merge_options *opt) state.istate = index; original_cache_nr = index->cache_nr; - /* Put every entry from paths into plist, then sort */ + /* Append every entry from conflicted into index, then sort */ strmap_for_each_entry(&opt->priv->conflicted, &iter, e) { const char *path = e->key; struct conflict_info *ci = e->value;