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

1 messages from 2026-05-10 to 2026-05-10. Participants: optik@gmx.li.
Thread: https://gitlist.dev/t/65612

## optik@gmx.li, 2026-05-10 21:30

Subject: [BUG] git-svn: 'Duplicate specification "id|i=s" for option "i"'
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



```
