git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Fix git-send-email.perl w.r.t. recent Getopt::Long update

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 27, 2023, 00:58 UTC
Message-ID
<xmqqzfz03tbn.fsf@gitster.g>
In-Reply-To
<20231124103932.31ca7688@pc09>
"H.Merijn Brand" <linux@tux.freedom.nl> writes:
Show 11 quoted lines
> From the Getopt::Long changes:
> ```
> Changes in version 2.55
> -----------------------
> * Fix long standing bug that duplicate options were not detected when
>   the options differ in case while ignore_case is in effect.
>   This will now yield a warning and become a fatal error in a future
>   release.
> ```
>
> Current version is 2.57
This patch looks like duplicate of
  https://lore.kernel.org/git/20231116193014.470420-1-tmz@pobox.com/
perhaps independently discovered and worked on.  Thanks for caring.

One downside of unconditional upgrade of the call is, of course, that it would no longer work for those with older Getopt::Long that did not support the "!" suffix. Fortunately, Getopt::Long 2.33 started shipping with Perl 5.8.1 that is more than 20 years old, so with the series we accepted, we also have a change to bump the required version of Perl from 5.8.0 to 5.8.1 to make it clear that it is deliberate that we drop the support for anything older at the same time.

Previous: Jeff KingNext: H.Merijn Brand
Message 6 of 8 in “Fix git-send-email.perl w.r.t. recent Getopt::Long update”
  1. H.Merijn BrandNov 24, 2023
  2. Bagas SanjayaNov 25, 2023
  3. H.Merijn BrandNov 25, 2023
  4. Dragan SimicNov 25, 2023
  5. Jeff KingNov 27, 2023
  6. Junio C HamanoNov 27, 2023
  7. H.Merijn BrandNov 27, 2023
  8. Todd ZullingerNov 28, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.