Sean Whitton writes ("Bug#1111194: git-debpush: please upload without tripping 
submodule check if .gitmodules is empty"):
> Birger reported another case where the submodule check gave a false
> positive: the 0.14.0-1 upload of waybar, salsa:swaywm-team/waybar.git
> 
> It may be the same or a different problem to the one reported in this
> bug.

No, that was a false negative.

What actually causes the real failure is not the presence of the
`.gitmodules` files in the toplevel.  It's the weird git object
structure, where the tree object references a commit object rather
than a blob or another tree.

In principle I think the git submodule tooling is supposed to maintain
these two things sort of roughly maybe in sync.  Ha ha ha.

Probably we should be checking for anomalous objects in the tree.

Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Reply via email to