#1112000 git-debpush should detect submodules in baredebian's separate upstream

Package:
git-debpush
Source:
git-debpush
Submitter:
Ian Jackson
Date:
2025-08-24 21:51:02 UTC
Severity:
normal
Tags:
#1112000#5
Date:
2025-08-24 21:48:36 UTC
From:
To:
STEPS

git clone git@salsa.debian.org:swaywm-team/fnott.git
cd fnott/
git checkout b00ef67769c27e7ef1b1d7f92b9c753ab1009d2a
git-debpush --dry-run --print-tag-text --force=detached --quilt=baredebian --upstream=upstream/1.8.0+ds

ACTUAL BEHAVIOUR

git-debpush outputs a tag.

EXPECTED BEHAVIOUR

git-debpush should fail a check, complaining that the upstream tree
contains a submodule.

NOTES

Observe:

$ git ls-tree -r upstream/1.8.0+ds: | grep commit
160000 commit d1598e82240d6e8ca57729495a94d4e11d222033  external/wlr-protocols

(the upstream commitish is cbca9b12d72318c6e33281d3751b3006b097802f)

This can only happen in baredebian quilt mode, because in that csse
the upstream source code is a separate git tree.

Ian.