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

[BUG] git-svn: 'Duplicate specification "id|i=s" for option "i"'

From
Ooptik@gmx.li <optik@gmx.li>
Date
May 10, 2026, 21:30 UTC
Message-ID
<d8940847-896b-4cc5-81d4-f6512326e15f@gmx.li>
Fedora 43 aarch64
git version 2.54.0
Installed package: "git-2.54.0-1.fc43.aarch64"

I get this "warning" ("become a fatal error in a future") while using git-svn meanwhile:

 > Duplicate specification "id|i=s" for option "i"
This problem is here in the git code:
 > my $rv = GetOptions(%opts, 'h|H' => \$_help, 'version|V' => \$_version,
 >                     'minimize-connections' => 
\$Git::SVN::Migration::_minimize,
 >                     'id|i=s' => \$Git::SVN::default_ref_id,
 >                     'svn-remote|remote|R=s' => sub {
 >                        $Git::SVN::no_reuse_existing = 1;
 >                        $Git::SVN::default_repo_id = $_[1] });
Link: https://github.com/git/git/blob/master/git-svn.perl#L352
Source is a change in Getopt:Long 2.55
Installed package: "util-linux-2.41.4-7.fc43.aarch64"
 > * 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.
Link: https://metacpan.org/dist/Getopt-Long/changes
Currently it still works as expectd, until getopt is changed
Message 1 of 1 in “[BUG] git-svn: 'Duplicate specification "id|i=s" for option "i"'”
  1. optik@gmx.liMay 10, 2026

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.