[git] Disable downloading of checkouts.
authorHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 12 Oct 2008 22:18:06 +0000 (22:18 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Sun, 12 Oct 2008 22:18:06 +0000 (22:18 +0000)
commit9c3334f8fe28ae97d649a832c5d527347c6d4655
treef38c8d3a8c8b221d737ea8e354a1101e8e79eece
parent5a70204961ff309266c310d1b9836bc8f72bb1cf
[git] Disable downloading of checkouts.
    Instead of calling try_mirror check if we have a local checkout
    already. This code fetched a new checkout even if you had a local
    repository which is rather bad if you don't have internet but a full
    repository. And the overhead of a full checkout vs. repository is not
    too big anyway.
lib/bb/fetch/git.py