Merge part of pack-thin branch
authorJunio C Hamano <junkio@cox.net>
Thu, 23 Feb 2006 11:00:59 +0000 (03:00 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 23 Feb 2006 11:00:59 +0000 (03:00 -0800)
1  2 
pack-objects.c

diff --cc pack-objects.c
@@@ -516,12 -493,9 +516,13 @@@ static int add_object_entry(const unsig
                        die("internal error in object hashing.");
                object_ix[-1 - ix] = idx + 1;
        }
+       status = 1;
  
   already_added:
 +      if (progress_update) {
 +              fprintf(stderr, "Counting objects...%d\r", nr_objects);
 +              progress_update = 0;
 +      }
        if (exclude)
                entry->preferred_base = 1;
        else {