diff options
-rw-r--r-- | pack-objects.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pack-objects.c b/pack-objects.c index 9a468bd9fc..8de7bd0344 100644 --- a/pack-objects.c +++ b/pack-objects.c @@ -114,6 +114,7 @@ static unsigned long write_object(FILE *f, struct object_entry *entry) memcpy(header+1, &datalen, 4); hdrlen = 5; if (entry->delta) { + header[0] = 'D'; memcpy(header+1, entry->delta, 20); buf = delta_against(buf, size, entry); size = entry->delta_size; |