[Debian-med-packaging] Bug#1092286: Git Submodules Considered Harmful
Barak A. Pearlmutter
barak at cs.nuim.ie
Mon Jan 6 21:39:00 GMT 2025
Package: routine-update
Version: 0.2.2
Instead of using the appropriate git commands, routine-update seems to
check if there is a .git/config file or something like that. But git
submodule will place a text file .git with a pointer to the gitdir in
it, as below.
$ ls -ld .git
-rw-rw-r-- 1 barak barak 30 May 19 2022 .git
$ cat .git
gitdir: ../.git/modules/chuck
$ git log --oneline -1
7495e4f7 (HEAD -> debian, origin/debian) log merge
$ routine-update
E: This tool is meant to update also the remote git repository with
Debian's changes, but this is not a git repository.
More information about the Debian-med-packaging
mailing list