Bug#884870: lintian: vcs-field-has-unexpected-spaces and vcswatch don't agree
Hi Jeremy,
> Now, I think (lintian's website is recovering from a typo) that this
> now causes lintian to emit vcs-field-has-unexpected-spaces
>
> I think the " -b BRANCHNAME" suffix should be considered valid syntax
> for Vcs-Git.
Something else must be going on as this is indeed supported. Here is the
code in question:
# git uri followed by optional " -b " + branchname:
git => sub { return shift =~ /^(.+?)(?:\s+-b\s+(\S*))?$/;},
… and I've even just committed a (passing) test for this:
https://anonscm.debian.org/git/lintian/lintian.git/commit/?id=8e1ba53fa85469ab4f2e67e7514b3a800c0a6004
:)
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
Reply to: