gc: save log from daemonized gc --auto and print it next time
[gitweb.git] / fetch-pack.c
index 84d5a66967a608c279b114a1b3957d668010f995..48526aa54bbb8458a10fc178f4fa5a429b77bc87 100644 (file)
@@ -628,7 +628,6 @@ static int everything_local(struct fetch_pack_args *args,
 
        for (retval = 1, ref = *refs; ref ; ref = ref->next) {
                const unsigned char *remote = ref->old_sha1;
-               unsigned char local[20];
                struct object *o;
 
                o = lookup_object(remote);
@@ -641,8 +640,6 @@ static int everything_local(struct fetch_pack_args *args,
                                ref->name);
                        continue;
                }
-
-               hashcpy(ref->new_sha1, local);
                if (!args->verbose)
                        continue;
                fprintf(stderr,