debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #08990
[Bug 2127752] [NEW] Cannot add submodule using file transport
*** This bug is a duplicate of bug 1993586 ***
https://bugs.launchpad.net/bugs/1993586
Public bug reported:
This bug was fixed here
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 but comes
again...
## Reproduce ##
apt-get update
apt-get install -y git
git config --global user.email "you@xxxxxxxxxxx"
git config --global user.name "Your Name"
git config --global init.defaultBranch main
mkdir -p /tmp/foo
mkdir -p /tmp/bar
cd /tmp/bar
git init .
touch hi
git add hi
git commit -m "Init"
cd /tmp/foo
git init .
touch bye
git add bye
git commit -m "Initial"
git submodule add /tmp/bar the_bar
## Expected Output ##
Initialized empty Git repository in /tmp/bar/.git/
[main (root-commit) 7583952] Init
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 hi
Initialized empty Git repository in /tmp/foo/.git/
[main (root-commit) 7ee5648] Initial
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 bye
Cloning into '/tmp/foo/the_bar'...
done.
## Actual Output ##
Cloning into '/tmp/foo/the_bar'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/bar' into submodule path '/tmp/foo/the_bar' failed
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: git 1:2.48.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-33.33-generic 6.14.11
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 13 13:01:57 2025
InstallationDate: Installed on 2024-08-19 (420 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: git
UpgradeStatus: Upgraded to plucky on 2025-07-14 (91 days ago)
** Affects: git (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug plucky wayland-session
** This bug has been marked a duplicate of bug 1993586
Cannot add submodule using file transport
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/2127752
Title:
Cannot add submodule using file transport
Status in git package in Ubuntu:
New
Bug description:
This bug was fixed here
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 but comes
again...
## Reproduce ##
apt-get update
apt-get install -y git
git config --global user.email "you@xxxxxxxxxxx"
git config --global user.name "Your Name"
git config --global init.defaultBranch main
mkdir -p /tmp/foo
mkdir -p /tmp/bar
cd /tmp/bar
git init .
touch hi
git add hi
git commit -m "Init"
cd /tmp/foo
git init .
touch bye
git add bye
git commit -m "Initial"
git submodule add /tmp/bar the_bar
## Expected Output ##
Initialized empty Git repository in /tmp/bar/.git/
[main (root-commit) 7583952] Init
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 hi
Initialized empty Git repository in /tmp/foo/.git/
[main (root-commit) 7ee5648] Initial
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 bye
Cloning into '/tmp/foo/the_bar'...
done.
## Actual Output ##
Cloning into '/tmp/foo/the_bar'...
fatal: transport 'file' not allowed
fatal: clone of '/tmp/bar' into submodule path '/tmp/foo/the_bar' failed
ProblemType: Bug
DistroRelease: Ubuntu 25.04
Package: git 1:2.48.1-0ubuntu1.1
ProcVersionSignature: Ubuntu 6.14.0-33.33-generic 6.14.11
Uname: Linux 6.14.0-33-generic x86_64
ApportVersion: 2.32.0-0ubuntu5.3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Oct 13 13:01:57 2025
InstallationDate: Installed on 2024-08-19 (420 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: git
UpgradeStatus: Upgraded to plucky on 2025-07-14 (91 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/2127752/+subscriptions