[PATCH] Fix unpack-objects for header length information.
Standalone unpack-objects command was not adjusted for header length encoding change when dealing with deltified entry. This fixes it. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
fead2836a1
commit
e1ddc97684
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user