Code

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
index 32befa002817273a55721d9b7fa43a33c3cf9e1d,af3bdf5d358b8a47ed23bcb7e9721e956eb59d60..8da8aabf94c83c7da577f7ff420085ce0ba979e7
@@@ -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 {