delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/05/09/12:58:39

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C3F753858C36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1683651477;
bh=s5HHXJN3wQJD648z0VK6Yfu6pQbMN9FfNi6yIstwmi8=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=n9JSt1EbaDrGOyBmaWFEE88COIncXbzKkyNO2gARuS/bBKgGWJY4rPI1wjIlv8AHY
XT974FZ1OtbwCcB7T2l/sb3o3Gs1iujYCJu2AfEgDKZrvcMkD5N3/lsdOE4ujai+04
vTOZeNHYAKUX4NqrdtaPLtm0AM/UX4apQvDIADFs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8446B3857713
X-Authority-Analysis: v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=645a7b6c
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=e3tV0-lBg0AOpTCdrtIA:9 a=QEXdDO2ut3YA:10
Message-ID: <a4fa26e3-f224-afa9-e110-f7e591c821a7@Shaw.ca>
Date: Tue, 9 May 2023 10:57:15 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Subject: git-send-email --confirm=always error after perl upgrade
To: cygwin AT cygwin DOT com
References: <announce DOT 87a5ym4jby DOT fsf AT Rainer DOT invalid>
Organization: Inglis
In-Reply-To: <announce.87a5ym4jby.fsf@Rainer.invalid>
X-CMAE-Envelope: MS4xfL9EmiiZMxBPVZKX11xQWTs4KozZFTwXp1nsf07RGpah3scTA/fTTv3JHENK97ehmJA98GRy/jP5ZwUDfWlSfqlv/Lz6SRyxkp2ZskgsCCDl8RcG7xvn
8NyMKjTyl3mxdDCxcBEd4KhFVyHwYtejbw6OJtMSPW0SDonpBaXfC+M2Y++TYdjQNCcaKONE3ww3VA==
X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
URI_HEX autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 349GwLrg009186

On 2023-05-02 13:36, Achim Gratz via Cygwin wrote:
> Perl 5.36.1-1 is now available on Cygwin, replacing perl-5.32.1.  Most
> Perl distributions and dependent packages have been either re-released
> or updated in conjunction with this update.  The following packages have
> been released for Cygwin:

Hi folks,

Just updated everything including perl and now git send-email fails with error
without prompting or requesting input for sendemail.confirm = always - address
headers have been sanitized and perl indents have been reduced:

$ git send-email --to=patches 
0001-fhandler-proc.cc-format_proc_cpuinfo-Add-Linux-6.3-cpuinfo.patch
0001-fhandler-proc.cc-format_proc_cpuinfo-Add-Linux-6.3-cpuinfo.patch
(mbox) Adding to: patches from line 'To: patches'

From: user.name <user.email>
To: patches
Subject: [PATCH] fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo
Date: Sun,  7 May 2023 16:07:20 -0600
Message-Id: <68bbf3607bdf37fcd32613aa962abe50846d968a.1682994011.git.user.email>
X-Mailer: git-send-email 2.39.0
MIME-Version: 1.0
Bcc: user.name <user.email>
Reply-To: patches
Content-Transfer-Encoding: 8bit

Send this email reply required at /usr/libexec/git-core/git-send-email line 1585.
$

git-send-email:
1561	if ($needs_confirm && !$dry_run) {
1562	    print "\n$header\n";
1563	    if ($needs_confirm eq "inform") {
1564		$confirm_unconfigured = 0; # squelch this message for the rest of this run
1565		$ask_default = "y"; # assume yes on EOF since user hasn't explicitly asked 
for confirmation
1566		print __ <<EOF ;
1567    The Cc list above has been expanded by additional
1568    addresses found in the patch commit message. By default
1569    send-email prompts before sending whenever this occurs.
1570    This behavior is controlled by the sendemail.confirm
1571    configuration setting.
1572
1573    For additional information, run 'git send-email --help'.
1574    To retain the current behavior, but squelch this message,
1575    run 'git config --global sendemail.confirm auto'.
1576
1577 EOF
1578	}
1579	# TRANSLATORS: Make sure to include [y] [n] [e] [q] [a] in your
1580	# translation. The program will only accept English input
1581	# at this point.
1582	$_ = ask(__("Send this email? ([y]es|[n]o|[e]dit|[q]uit|[a]ll): "),
1583	    valid_re => qr/^(?:yes|y|no|n|edit|e|quit|q|all|a)/i,
1584	    default => $ask_default);
1585	die __("Send this email reply required") unless defined $_;
-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019