From patchwork Fri Feb 16 10:15:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shopov X-Patchwork-Id: 13559824 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8BAA208D1 for ; Fri, 16 Feb 2024 10:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078621; cv=none; b=gjc7BOaib56cpmxySNCsGliVbxQwiRuwPZHlXQdS5SWdyrHr+8m505P4pty3oL85ld01kFI3ENymjAYoKKUa20hJP302bbGYVhsO0Q3UL99PDMZy/DeWdaOv7U91/1JooFJv8hXDy2KRJv/5lDeRWHCj0dGc4zedmex0+QdmVs8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078621; c=relaxed/simple; bh=49NErM7FM2No/QXlAzbVpP/n2EYeE+xwb4B60gmPXFA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MOjYIWuX2Je+fqwax01kfbr1LIjFBdC/cpXe+X7xvzIBiKHfOWqBu/aalceVTbn3/gAxdk1CzlHqTeRsAJa+TnzM0A4GuNFCyJZivnD2YWZTm0oQjXzj1AXbJqQuIsAG2Oolg9AuHbNydODfHWs3iSR53RaIRE/hWrQGGLxoYmk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org; spf=none smtp.mailfrom=kambanaria.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b=ZvNMbcKD; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b="ZvNMbcKD" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-56399fb02b3so2356771a12.1 for ; Fri, 16 Feb 2024 02:16:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kambanaria-org.20230601.gappssmtp.com; s=20230601; t=1708078617; x=1708683417; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AFHsl2QkFi9b9DL99IHG6fDSMBCGbP9OeHJTYCMMjeA=; b=ZvNMbcKDYCrFaEIb/LWG9Y02spvtDM6uKKqyf0c/X98mKA86s7ET5s5aI4TGtA99Cc IRZPw/M+Z5VzDbFY+QFmQd83GgBJdxEPQ1ZccTMDS65SUIpgPfVFMKHbGB++Vc3Qxn2B cWQw423Cbmt3POgbNL8X5O1yAs5uk8b8B0scqzNHmLRu0IT0SmB66QFOK32lQY9jFSR0 MszzPZJrdsWFefA1p6e/i/A6SNHYbgTQ5iYUhF4guJXVNWvi+I5b8OcILWbkPgJnSoR3 tFPt+1rVKW7R0Ei793Xm98sRkOAPJK7HnTdYFvHB4GyBuQigWWbhFx4aLv9wEvASqnGq 1LMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078617; x=1708683417; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AFHsl2QkFi9b9DL99IHG6fDSMBCGbP9OeHJTYCMMjeA=; b=olNMKOsItqxqd7rTCYpxWrtKpw8KAILE5bajUsCT+z6sd69TOahJyBS5hrvoF6U5k1 BNPgE9IxqYxIZjpo1yS1r1qpAWMSoGm9jbWe7p/iIsO3as1JME8melwph+kTMaojjLi7 GYo/GZZVOzXKpw5/qO1KZjvCaDtxt9vyYj/o+ilZ2SiUYuo9wL8EWmP0xkE53pjVrEiP oFaOAKgT2QUDx6HHm5xMOs75Xq4WchzkpEHbSa3eOo+VcVVBzMTHLliiw56u7/GlryXk zZO90doeMAYZc4j10knwUCr53Ld/IC3FwQ728Q6S1z33DFpKphr5lxNwwQV/IltSpAZV 1vzg== X-Gm-Message-State: AOJu0Yx8oU+qigMeMiDnrtfSmaXN2LsvnKzoXHGFBV5/zktSLOe+gHoL w1fqcIvPt+7y8Ys9fReHWq1zUb6SM0eNs2eRtx/AdxG+/wD99/nGJcJmGwhx/YtyNG9zdd3oOSp z1GPoDQ== X-Google-Smtp-Source: AGHT+IG5gkpEcdQUUsGLJ4rB4Sq28QVPTLJmnyFIh9AtRFQeasvVC4fZHGL+g4wgqeSB4nTAgDynpw== X-Received: by 2002:aa7:c90b:0:b0:561:d6b1:e25 with SMTP id b11-20020aa7c90b000000b00561d6b10e25mr3287540edt.14.1708078616787; Fri, 16 Feb 2024 02:16:56 -0800 (PST) Received: from ashopov-C7P4TNH9MQ.corp.uber.internal ([165.225.240.192]) by smtp.gmail.com with ESMTPSA id v20-20020aa7d9d4000000b00561fbfebdb5sm1337682eds.96.2024.02.16.02.16.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Feb 2024 02:16:56 -0800 (PST) From: Alexander Shopov To: git@vger.kernel.org, gitster@pobox.com, worldhello.net@gmail.com, alexhenrie24@gmail.com Cc: Alexander Shopov Subject: [Improvements on messages 1/5] rebase: trivial fix of error message Date: Fri, 16 Feb 2024 11:15:33 +0100 Message-ID: <20240216101647.28837-2-ash@kambanaria.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240216101647.28837-1-ash@kambanaria.org> References: <20240216101647.28837-1-ash@kambanaria.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Mark --rebase-merges as option rather than variable name Signed-off-by: Alexander Shopov --- builtin/rebase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 diff --git a/builtin/rebase.c b/builtin/rebase.c index 4084a6abb8..9c6d971515 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -746,7 +746,7 @@ static void parse_rebase_merges_value(struct rebase_options *options, const char else if (!strcmp("rebase-cousins", value)) options->rebase_cousins = 1; else - die(_("Unknown rebase-merges mode: %s"), value); + die(_("Unknown --rebase-merges mode: %s"), value); } static int rebase_config(const char *var, const char *value, From patchwork Fri Feb 16 10:15:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shopov X-Patchwork-Id: 13559825 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E159208CA for ; Fri, 16 Feb 2024 10:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078623; cv=none; b=SzMIUPPQ2oLEc60I8TQvaYSNscw5LLA97c1hyj0Sz7d6BY3oj1N0x18lx8fi2vK1317Yn8AoTqxl9KG4k9wRKvynBHdMjaOcuubgyU3NImrrWsFyQQe9s4Fhnwm2inHlAR3vEUQ31aXBMeyudUD75bBW8KD4e0Yj0YuZmwpJJeQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078623; c=relaxed/simple; bh=7TlOvD4eXxsAEOjwv/pJ/+tDVuYvt5PgXKRpN73VlkA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=u4cggakiKgCSTteP0DC958aLPDZnVZYAF0sO/6voMOw4bfy/ficsPjdO89TVTm9CsXUQsAiIHToXU1kISk/WB1XAV1wdikV4A7wrizsmAadxt8Lqc7gS97hjbNydAvSLqHvrWbi/fRzuHSGx/UiIIafrAkyR5AriYVZuEq+/uuY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org; spf=none smtp.mailfrom=kambanaria.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b=i+3tp0AG; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b="i+3tp0AG" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-563a6656c46so2833077a12.1 for ; Fri, 16 Feb 2024 02:17:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kambanaria-org.20230601.gappssmtp.com; s=20230601; t=1708078618; x=1708683418; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DUuO5ryal8OnM+8J/47QenkPFXvn9ovZYBPDNIQlmLI=; b=i+3tp0AGfQ+0cFBPnRwxG7yb9ONHQSKWEMs2//yx60cgSKHxsekbZ5Dt9NKcaCpVlr irobz07NfgYX8K7S8eO/wSGaLU9fP6jaAi72wdymY3D1lvMBqv22/2aJNvNMk+lE4dZT 1ka8CusBQfuJH8g9ejoWuDNcG3FD0jzabveDKO46Uq32UOGASgYebHs20FcE/5zYqaUa L7r6ABnVDpVFnXctSNUvG/Sa6SP6xI+O70fRM8RqLGOZWV1E8wI7NXHyEyrgtPxPFSBD VQtwntHfjRmuRfDI6GUvjoVQ+EcbM6V/1kUQHOB7oX7o/u3XlkNVEZ2ep0LwGyyii7md SXfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078618; x=1708683418; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DUuO5ryal8OnM+8J/47QenkPFXvn9ovZYBPDNIQlmLI=; b=VkZu/blNZRZ7Tnl4FvIX99wONWIpiXJHWByOsaK15lOO/9K2CVxjA8NVtH7VlIcJ3n oY2uugIKSZPZsOgt4znwnmXMlIHsj2WttyvI4CpjnX4G6aAjrrj0VglXtLAawJqgp6W0 BOdra956VoDT2fd+Yv6eLB/VoOClrlxEX8NNjMr7h8Yr1d/I/8I1UqYIhoHT7qsUc87W Zr6DACJDQsvQyReHDEXTvqyE7d6D2MwWYyWaJCu7lWBNe+1G2b7O2ppUbuGeJFlkl9GG QLJadBmI31KTqkqf7Gn9p5ldyL6P/os71PLJOWWLt1Nyc/q7KyL8Be8IR5K08/5R0Cyy euyg== X-Gm-Message-State: AOJu0YzmKu8SJeco4azG0Q1JCfNJp8bNTOIIscuo/DTN6vlUEw15KDTt Sps9OorsQlHTTANMnUtm2xXx6wfArR0FqPadBA8B6PKbQVzXhJv85dBN0SzDLMIKDLWhp9P35GK B/hb1Qw== X-Google-Smtp-Source: AGHT+IGOBBEvOnqz9AV6lmsto8nVjNbG/dvHPXGY9941fFaWtfA3M4KJqs6QIoVwGEMJHilUKpDkUg== X-Received: by 2002:aa7:c44d:0:b0:560:799:f802 with SMTP id n13-20020aa7c44d000000b005600799f802mr3041951edr.21.1708078618630; Fri, 16 Feb 2024 02:16:58 -0800 (PST) Received: from ashopov-C7P4TNH9MQ.corp.uber.internal ([165.225.240.192]) by smtp.gmail.com with ESMTPSA id v20-20020aa7d9d4000000b00561fbfebdb5sm1337682eds.96.2024.02.16.02.16.56 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Feb 2024 02:16:57 -0800 (PST) From: Alexander Shopov To: git@vger.kernel.org, gitster@pobox.com, worldhello.net@gmail.com, felipe.contreras@gmail.com Cc: Alexander Shopov Subject: [Improvements on messages 2/5] transport-helper.c: trivial fix of error message Date: Fri, 16 Feb 2024 11:15:34 +0100 Message-ID: <20240216101647.28837-3-ash@kambanaria.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240216101647.28837-1-ash@kambanaria.org> References: <20240216101647.28837-1-ash@kambanaria.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Mark --force as option rather than variable names Signed-off-by: Alexander Shopov --- transport-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 diff --git a/transport-helper.c b/transport-helper.c index e34a8f47cf..7014b9ad70 100644 --- a/transport-helper.c +++ b/transport-helper.c @@ -1072,7 +1072,7 @@ static int push_refs_with_export(struct transport *transport, set_common_push_options(transport, data->name, flags); if (flags & TRANSPORT_PUSH_FORCE) { if (set_helper_option(transport, "force", "true") != 0) - warning(_("helper %s does not support 'force'"), data->name); + warning(_("helper %s does not support '--force'"), data->name); } helper = get_helper(transport); From patchwork Fri Feb 16 10:15:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shopov X-Patchwork-Id: 13559826 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8337C20B20 for ; Fri, 16 Feb 2024 10:17:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078624; cv=none; b=HAT6WE4JXmUGzW9cvAywWwRb7QsZI5tqh16/HrX1bG0JbMj31yiGJYq928kfsE/BdB6dZqczk3HIOxEvfV6XlX7dZYtqBxB36tuEarihmY1ZGATmLk4uy4ewK+IYEwZgb1VstvneWW1kIbRAY1nD9nV6WLv79pf3gmpDC3ES8bg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078624; c=relaxed/simple; bh=Gi1FosAsJEcxF1pmHHk2YZe+k8ETwZNzE1aAjuh2lt8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YF6+89DSpR7lG0hjg9Aab5A/v9+9gIKfjTMktZBFvgo7LsAeTtxKWPsO65Y/IyDi3CN5tj53Y3X1VpgTwnxplueegfhuISArTkOQEtFaag/zaxqbyhfWiVNIMsDqAWPByw2nGkmbDQPI9Wvy4TcOHVVClTvF//WMBnR71dTinoQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org; spf=none smtp.mailfrom=kambanaria.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b=TTDoM+na; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b="TTDoM+na" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-563ed3d221aso649272a12.0 for ; Fri, 16 Feb 2024 02:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kambanaria-org.20230601.gappssmtp.com; s=20230601; t=1708078620; x=1708683420; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=anQRNBqXCFoNsc62tBAQLgEqT1nO19xa5zgt7RB7ReQ=; b=TTDoM+na0RbSU4FfqekiIOEdH+UYSB7JOuBeglKYQW/5TAJLQGL1UNhM0Z5nhYHhFi LoLUCfxAf+6MhIv9oZ/pB0nK4cbrQy7ZLXxu8ea1Sfd+h3osohFZeJUAE6hv/S3O+SYW MJL2V+uKkjZ7pICEJMPwYKAK/NpDq3w6s4pmgbkglH/FhDHMAFp6Y1pcOTh1U30d7eP8 1d0BqY3twaYMSIZVhYeKqIbP+EXLKMvRgKw4piM3ZNMrdJ7OAGHU+oyxlpNE6fs/UzsP RSp+skOS8p4HrianftAIM8AaXbM4QPrUByWQbJiUPC3R0vwIRorCZ0PN2xytlPI8hpnX D2tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078620; x=1708683420; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=anQRNBqXCFoNsc62tBAQLgEqT1nO19xa5zgt7RB7ReQ=; b=mc/H3eaBE9z3ac3VgYISsjYHhPbozf2ufQMbwoIcmB6mgdwMopkZOJzjtWfOWDCVEQ SKIgIiqH9wiI32IsfQUMnCW8A62D84ht6FtPxxRvbf0ArnWhyGG9o/F8LqM39Atetn2o cqx9gF3KH4N4d2a7F4Rt0N04z5MwWATVNuMCyEmXTopv5emPu0QnLvrJlJNQgX4Se2Jz Fow/DL5T006PDaXuWTCxCivxnlTrgGFovZJzWxJ662eGuJUJhFWjGobvT0zA0jFc0pVi 0aMyqGyyutfzJK6Mk+7y2yAEogsKbGxPKU8B681eD1Ono6xFE10tJmduf77O7rgRvuvl V/kw== X-Gm-Message-State: AOJu0YxUklY8gIG8pgf8YB12Ajx7SJ0hzRx36PtvZ3SVGSbcUM0aLy0q MZWw2R/LWoTeXRn2KaBQvMVozvT5vY9GQukbITX/jNipfx+MJ6+C4kLUzimajBakfoz+WeBptgY hNrh6Lw== X-Google-Smtp-Source: AGHT+IGIeqUR12uFM6UXZ+XnYSjIBnQyXh9AlKJyCKqQ2d8Q01uHuy+QVcRg7uQNGGT0PejGdISNyw== X-Received: by 2002:a05:6402:4010:b0:55f:d7f8:1072 with SMTP id d16-20020a056402401000b0055fd7f81072mr7028104eda.3.1708078620000; Fri, 16 Feb 2024 02:17:00 -0800 (PST) Received: from ashopov-C7P4TNH9MQ.corp.uber.internal ([165.225.240.192]) by smtp.gmail.com with ESMTPSA id v20-20020aa7d9d4000000b00561fbfebdb5sm1337682eds.96.2024.02.16.02.16.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Feb 2024 02:16:58 -0800 (PST) From: Alexander Shopov To: git@vger.kernel.org, gitster@pobox.com, worldhello.net@gmail.com, peff@peff.net Cc: Alexander Shopov Subject: [Improvements on messages 3/5] builtin/remote.c: trivial fix of error message Date: Fri, 16 Feb 2024 11:15:35 +0100 Message-ID: <20240216101647.28837-4-ash@kambanaria.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240216101647.28837-1-ash@kambanaria.org> References: <20240216101647.28837-1-ash@kambanaria.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Mark --mirror as option rather than command Signed-off-by: Alexander Shopov --- builtin/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 diff --git a/builtin/remote.c b/builtin/remote.c index d91bbe728d..8412d12fa5 100644 --- a/builtin/remote.c +++ b/builtin/remote.c @@ -150,7 +150,7 @@ static int parse_mirror_opt(const struct option *opt, const char *arg, int not) else if (!strcmp(arg, "push")) *mirror = MIRROR_PUSH; else - return error(_("unknown mirror argument: %s"), arg); + return error(_("unknown --mirror argument: %s"), arg); return 0; } From patchwork Fri Feb 16 10:15:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shopov X-Patchwork-Id: 13559827 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE58520DD3 for ; Fri, 16 Feb 2024 10:17:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078625; cv=none; b=GzQKyis5UldKIwC883aB+ujf4D0DeOPT4GAWDLax80TmVoJuIeYrm4IIp/vDRsmVJMOZAjbzyLB1Cg0jYGRKRVBcrdjJqSPOzsNBulSym4Emlt9r3RSY0VLMsiDoDTp0lqnGyyFLB2OKf5sOvCeKTMiOjWKV5pL9e+ozQrZhFdE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078625; c=relaxed/simple; bh=Nwk7XZ3wl5kujZGiB5ysDIBfLybxm/JdCielk1eJFkg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sfbEMePKvEFOqyxv9ApAwn/JpULMJfSZV/0T4u45W9p6BVeJdPzX+6lv2Ki7yP8U11G2eWF7GeL4BhYF4iohuAllkVhox7/GI9zOQpXhbqleSggMLysUTIOsEPg0QxO7mILV/dvPfYpxj1QfouqlyNXWAZXMG2kqIw8mceQOl8g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org; spf=none smtp.mailfrom=kambanaria.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b=QRaMxm8t; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b="QRaMxm8t" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so2694642a12.1 for ; Fri, 16 Feb 2024 02:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kambanaria-org.20230601.gappssmtp.com; s=20230601; t=1708078621; x=1708683421; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+AFdioYcdF1zchehxYiMSDvD2KuztVEpEKRhtMCiG0Y=; b=QRaMxm8txM4kscBsxvUEF1+czf3+DmWQ7Yu4KIUGPJj/PL7GqtkRZGgBEQVcMpGViN Nczq7dbZCDntPkxU6hfEL8cJNie7T3I1V15/viowgZFStE/nAgzhH/6n3E/peEY52omd 3uZOd1FTqxzATkklFgFnPoQ9ObV1uQblpt5PJhY46C3l+BezIomXw7bYlmzXyhezqFOo vClXYikMfgzkP5ohkmviuzoubTrLqPmAIzLFpRYFNncW///C/bZlFyP3JNuLWPftEFKg 17os73MQHnThEuURFSrr0PA7lHSXgRdkI0M3mqSQt117S9VkqHCogqtu9F0S485/SkmM KG0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078621; x=1708683421; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+AFdioYcdF1zchehxYiMSDvD2KuztVEpEKRhtMCiG0Y=; b=K6K9CzgnL7Jlxtaz6naq/bkNcO9TCL659gKeR4h8x6k3Wcz4OARrwcd0k9Wjdhun4B 9Zfk5wYqWxdkKo38BvQAE6gs50RrzWrDPMLAWKGr99YVmslw6fWMAnfce8GA607OI+o3 TotIeLf1Hz0S/NVZnfzkq8WhTeYO4deAccfnmvvFI2e84BqvT+9rkQ3eTAgM6g+58m+O zu2VvXYwS8srJ+ZA3ytwgiAzl//cuUkclci8iw+nclEBI9CAHFscW5MSqA6pFh1MiEPg s1F8JN7t3EUgMa/bRHvLi89vEVfQ4dYMN/G8MaTZgdfCKG4bu0lRMz/UzRDhxKKH4BF1 25QQ== X-Gm-Message-State: AOJu0YwmL1V+N1XP1RCoOZDD3yXvr9LdTtzYw7LPQAtCfrkCLBWz8HRB j4Oo1T9iRNsjXwYPETMSUU5yeViF2momtDExihvHsNISyvOVA9a5B5h2e8P5gtWQb1FfHyNJPCw dv7s2Sg== X-Google-Smtp-Source: AGHT+IFVo4Ni/mcSIxlau5ONCAswSlnVar1eYLVC+znpUjsKlLFr1/QbVldXnqGXZn4ACR1CH4mpZg== X-Received: by 2002:aa7:d604:0:b0:561:f645:aa88 with SMTP id c4-20020aa7d604000000b00561f645aa88mr3119933edr.39.1708078621414; Fri, 16 Feb 2024 02:17:01 -0800 (PST) Received: from ashopov-C7P4TNH9MQ.corp.uber.internal ([165.225.240.192]) by smtp.gmail.com with ESMTPSA id v20-20020aa7d9d4000000b00561fbfebdb5sm1337682eds.96.2024.02.16.02.17.00 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Feb 2024 02:17:00 -0800 (PST) From: Alexander Shopov To: git@vger.kernel.org, gitster@pobox.com, worldhello.net@gmail.com, stefanbeller@gmail.com Cc: Alexander Shopov Subject: [Improvements on messages 4/5] builtin/clone.c: trivial fix of message Date: Fri, 16 Feb 2024 11:15:36 +0100 Message-ID: <20240216101647.28837-5-ash@kambanaria.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240216101647.28837-1-ash@kambanaria.org> References: <20240216101647.28837-1-ash@kambanaria.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 bare in that context is an option, not purely an adjective Mark it properly Signed-off-by: Alexander Shopov --- builtin/clone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 diff --git a/builtin/clone.c b/builtin/clone.c index 315befa133..f0261bbb01 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -115,7 +115,7 @@ static struct option builtin_clone_options[] = { OPT_HIDDEN_BOOL(0, "naked", &option_bare, N_("create a bare repository")), OPT_BOOL(0, "mirror", &option_mirror, - N_("create a mirror repository (implies bare)")), + N_("create a mirror repository (implies --bare)")), OPT_BOOL('l', "local", &option_local, N_("to clone from a local repository")), OPT_BOOL(0, "no-hardlinks", &option_no_hardlinks, From patchwork Fri Feb 16 10:15:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shopov X-Patchwork-Id: 13559828 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 676FD210E1 for ; Fri, 16 Feb 2024 10:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078627; cv=none; b=AWOQY3T4PtpsabqjJxrd36QU+JUUDTMPZgMsOaXTgamNoG2reO0RVGXczsnQIHa+rHkwrf2MKI9/557DR/mDj9QZLLqmVwBbtiqSV3ogE29yW0/IEM3Uf57Q9J+OE/zWYyN1j+PhaBWL0f/01PLp5/dpPXaNvZAf4X51HxnWGhw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708078627; c=relaxed/simple; bh=iEGxSaC1BntFeMIp3n3obcSGfiHVUL352jX7ua3DwLY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=O9+nkc1KN/QHYY7rAWcswms4jULBGyeIAYaLcj/aZr/Ui4Z/UJZOTsXT9+dIfZjziF5w/aPydvvKiko+Jd2hvefPhG4SHSzKqfCG3hwDjW0fy8Wyjg3S2GLvQycP/JjCAqxysxpbGnOos2JGoRkHYcPOE34m0R16/7IaQqUUN9I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org; spf=none smtp.mailfrom=kambanaria.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b=tgpywXHn; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=kambanaria.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kambanaria-org.20230601.gappssmtp.com header.i=@kambanaria-org.20230601.gappssmtp.com header.b="tgpywXHn" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-55a035669d5so2849282a12.2 for ; Fri, 16 Feb 2024 02:17:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kambanaria-org.20230601.gappssmtp.com; s=20230601; t=1708078623; x=1708683423; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hW0HG1x4H3DIiL2MNMPfCXPQgTQwncnnc3DFrilCLP4=; b=tgpywXHnr43ZjWMqPEUgw88vDN+VxRPF6v/CjK8FXc7vpOYgu5xGikXTT4RlKsQATM ONVIxRXeROmO+o37u6DFt8gkLxR/qMggMLCq3JDqHxl68NIqXIV5yFaXpzmHWJPSFZ6M Pt176sNcEOna/7egflRWgnEFWmdiGopDm34Fz0ngHy2tI/pvjyJsfJMV57MsnZxvuEhI syhCuJ0glQyIGCwSnNLzbnx/wL2WLaYsSSHZ2a3WIl5SyvLBVz/bpBgfH0/eJaJpKQUi m8sR9DXVCFUIDJaBYgS7A46phjyTr3k38zrk74fowDGf0R5mTv+8OEkaqNXnLXyM2IrC Gujg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708078623; x=1708683423; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hW0HG1x4H3DIiL2MNMPfCXPQgTQwncnnc3DFrilCLP4=; b=AGd48b7YVq+siZvA0yNY6x09LGH8ccjzh40KEHdBwGxd63U0V5NuxKgGfV4m/x6/Op AiXc5MgpwBHSncRCSscwebwjRzFXnoBHjmIrBMj8UBzLJslE5sFmjZhcY5uYMOjPZNxp wjLBN0Iygv5ezmSL/JsvHw/MpCqDCEL2Speic5XxaBNXB/eFTBxlf+30VwwbVv+wbsgW zgnVpzRPfJvgRZIex+VDZGPHpJ6TemsYnKlJmO7FtcyF/ZWbsYSm31jxA4IJlSQ5kPk6 1P1ewuJk8Q1xmjS0Qww/mWGuOY9BbiQsafJDFOMYq14N+XvFLKG2Z3kIAjtvsBYYHKGS vbwg== X-Gm-Message-State: AOJu0YxsTWGm6Uh+odVdgz/FW2xSpZxF3MRRnK8DFntqx+dGFPqqLRmV E0deIcsdAksrUYsMxA01d8/80R04LQVL6d4tdbLHCVQdxQvfINmWp5HfFVnqJ5Kat6MmWMnrpO7 aUPaTPg== X-Google-Smtp-Source: AGHT+IHQB7xADSUfgo2tUdH3L5whMyFes89aYJU1ReNpyAyosI+HaDG27cGP0wbSkY9yH7b1LNiSNg== X-Received: by 2002:a50:ef0f:0:b0:564:e4:d663 with SMTP id m15-20020a50ef0f000000b0056400e4d663mr415782eds.30.1708078622853; Fri, 16 Feb 2024 02:17:02 -0800 (PST) Received: from ashopov-C7P4TNH9MQ.corp.uber.internal ([165.225.240.192]) by smtp.gmail.com with ESMTPSA id v20-20020aa7d9d4000000b00561fbfebdb5sm1337682eds.96.2024.02.16.02.17.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 16 Feb 2024 02:17:01 -0800 (PST) From: Alexander Shopov To: git@vger.kernel.org, gitster@pobox.com, worldhello.net@gmail.com, newren@gmail.com Cc: Alexander Shopov Subject: [Improvements on messages 5/5] revision.c: trivial fix to message Date: Fri, 16 Feb 2024 11:15:37 +0100 Message-ID: <20240216101647.28837-6-ash@kambanaria.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240216101647.28837-1-ash@kambanaria.org> References: <20240216101647.28837-1-ash@kambanaria.org> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 ancestry-path is an option, not a command - mark it as such. This brings it in sync with the rest of usages in the file Signed-off-by: Alexander Shopov --- revision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.2 diff --git a/revision.c b/revision.c index 2424c9bd67..e29aa10781 100644 --- a/revision.c +++ b/revision.c @@ -2320,7 +2320,7 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg } else if (skip_prefix(arg, "--ancestry-path=", &optarg)) { struct commit *c; struct object_id oid; - const char *msg = _("could not get commit for ancestry-path argument %s"); + const char *msg = _("could not get commit for --ancestry-path argument %s"); revs->ancestry_path = 1; revs->simplify_history = 0;