~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-security

« back to all changes in this revision

Viewing changes to pack-redundant.c

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
{
82
82
        struct llist *ret;
83
83
        struct llist_item *new, *old, *prev;
84
 
        
 
84
 
85
85
        llist_init(&ret);
86
86
 
87
87
        if ((ret->size = list->size) == 0)
100
100
        }
101
101
        new->next = NULL;
102
102
        ret->back = new;
103
 
        
 
103
 
104
104
        return ret;
105
105
}
106
106
 
550
550
        l.pack = p;
551
551
        llist_init(&l.all_objects);
552
552
 
 
553
        if (open_pack_index(p))
 
554
                return NULL;
 
555
 
553
556
        base = p->index_data;
554
557
        base += 256 * 4 + ((p->index_version < 2) ? 4 : 8);
555
558
        step = (p->index_version < 2) ? 24 : 20;