Package: git
Version: 1:2.47.2-0.2
File: /usr/lib/git-core/git-subtree
Tags: upstream

$ git subtree push -P maint/rust-maint-common ~/Rustup/Arti/rust-maint-common 
from-arti-x
git push using:  /home/ian/Rustup/Arti/rust-maint-common from-arti-x
/usr/lib/git-core/git-subtree: 806: Maximum function recursion depth (1000) 
reached

Editing the shebang to `#!/bin/bash` fixes it.

I found this
  
https://stackoverflow.com/questions/69493528/git-subtree-maximum-function-recursion-depth

Ian.

-- System Information:
Debian Release: 13.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'stable-debug'), (500, 'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.41+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages git depends on:
ii  git-man             1:2.47.2-0.2
ii  libc6               2.41-12
ii  libcurl3t64-gnutls  8.14.1-2
ii  liberror-perl       0.17030-1
ii  libexpat1           2.7.1-2
ii  libpcre2-8-0        10.45-1
ii  perl                5.40.1-6
ii  zlib1g              1:1.3.dfsg+really1.3.1-1+b1

Versions of packages git recommends:
ii  ca-certificates              20250419
ii  less                         668-1
ii  openssh-client [ssh-client]  1:10.0p1-7
ii  patch                        2.8-2

Versions of packages git suggests:
ii  gettext-base   0.23.1-2
pn  git-cvs        <none>
pn  git-doc        <none>
ii  git-email      1:2.47.2-0.2
pn  git-gui        <none>
pn  git-mediawiki  <none>
pn  git-svn        <none>
ii  gitk           1:2.47.2-0.2
pn  gitweb         <none>

-- no debconf information

Reply via email to