Add "update-cache --refresh" to git-pull-script to make sure
[git.git] / fsck-cache.c
index b59e1b9..edaf9e4 100644 (file)
@@ -149,8 +149,7 @@ int main(int argc, char **argv)
                        continue;
                }
                if (!get_sha1_hex(argv[i], head_sha1)) {
-                       struct object *obj =
-                               &lookup_commit(head_sha1)->object;
+                       struct object *obj = &lookup_commit(head_sha1)->object;
                        obj->used = 1;
                        mark_reachable(obj, REACHABLE);
                        heads++;