* Ian Jackson <[email protected]> [2026-02-11 19:36]: > I RTFM and UTSL and it appears that if the ref specification > ("matchig-pattern") is HEAD or a refs/heads/ it does git clone > and some kind of stuff involving git describe and/or git log. > But if the ref specification is refs/tags/, it uses git ls-remote. > So I think mode=git is fine with a refs/tags/ pattern.
I had a look at the git mode yesterday and the documentation convinced me not to use it, according to debian-watch(5): * debian-watch(5): > If matching-pattern is set to refs/tags/tag-matching-pattern, uscan > downloads source from the refs/tags/matched-tag of the git repository. https://salsa.debian.org/debian/devscripts/-/blob/main/scripts/debian-watch.pod#L326 mode=git being just an ls-remote in specific cases is great news! Nicolas.

