Ian Jackson writes ("Re: Bug#1111194: git-debpush: please upload without
tripping submodule check if .gitmodules is empty"):
> Proof of concept:
>
> git-ls-tree -r HEAD: --format='%(objecttype)' | grep -v blob
We should maybe tolerate "tree" in the output in case git-ls-tree ever
prints that for empty subdirectories. (Which can't exist normally
because the index can't represent them.)
--
Ian Jackson <[email protected]> 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.