~ubuntu-branches/debian/sid/git/sid

« back to all changes in this revision

Viewing changes to http-walker.c

  • Committer: Package Import Robot
  • Author(s): Jonathan Nieder
  • Date: 2013-06-12 07:50:53 UTC
  • mfrom: (1.2.19) (2.1.31 experimental)
  • Revision ID: package-import@ubuntu.com-20130612075053-uue9xe0dq0rvm44y
Tags: 1:1.8.3.1-1
* merge branch debian-experimental
* new upstream point release (see RelNotes/1.8.3.1.txt).
* debian/watch: use xz-compressed tarballs from kernel.org.

Show diffs side-by-side

added added

removed removed

Lines of Context:
396
396
        return ret;
397
397
}
398
398
 
399
 
static int fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
 
399
static int http_fetch_pack(struct walker *walker, struct alt_base *repo, unsigned char *sha1)
400
400
{
401
401
        struct packed_git *target;
402
402
        int ret;
524
524
        if (!fetch_object(walker, altbase, sha1))
525
525
                return 0;
526
526
        while (altbase) {
527
 
                if (!fetch_pack(walker, altbase, sha1))
 
527
                if (!http_fetch_pack(walker, altbase, sha1))
528
528
                        return 0;
529
529
                fetch_alternates(walker, data->alt->base);
530
530
                altbase = altbase->next;