Bug#811565: [uscan] git mode: allow for scanning repositories without tags

Osamu Aoki osamu at debian.org
Fri Aug 11 13:51:44 UTC 2017


Hi,

On Thu, Aug 10, 2017 at 09:37:33AM +0200, Michael Stapelberg wrote:
> Here’s an example: https://github.com/Debian/dh-make-golang/. The corresponding

Tested ...

$ git clone --depth=1 --bare https://github.com/Debian/dh-make-golang/ boo
Cloning into bare repository 'boo'...
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 13 (delta 0), reused 6 (delta 0), pack-reused 0
Unpacking objects: 100% (13/13), done.
$ git clone --depth=1 --bare http://git.ao2.it/tweeper.git foo
Cloning into bare repository 'foo'...
fatal: dumb http transport does not support shallow capabilities
$ git clone  --bare http://git.ao2.it/tweeper.git foo
Cloning into bare repository 'foo'...
$ 

Interesting.  So not all site can work with shallow checkout.

This reminds me of problems I had with git-archive, too.

Before coding further, let me check and test all these sites.


Osamu



More information about the devscripts-devel mailing list