[PATCH] Fix unpack-objects for header length information.
[gitweb.git] / unpack-objects.c
index 98b696cf2cb88cc85a887c677718231fe8cf065f..fbc899408e78c18b5cfeae00ad66927e3ef25053 100644 (file)
@@ -271,7 +271,7 @@ static void unpack_entry(struct pack_entry *entry)
                unpack_non_delta_entry(entry, type, pack, size, left);
                return;
        case OBJ_DELTA:
-               unpack_delta_entry(entry, pack+5, size, left);
+               unpack_delta_entry(entry, pack, size, left);
                return;
        }
 bad: