diff options
author | Junio C Hamano <junkio@cox.net> | 2005-06-28 16:49:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-28 17:12:18 -0700 |
commit | e1ddc9768469cb8c25387dc0c75dd4f40ea71096 (patch) | |
tree | 8ed42f494d2c3a7643cb3a3e70115bb3a96a73d7 /unpack-objects.c | |
parent | fead2836a16829fba427635f92d7df9acf771a55 (diff) | |
download | git-e1ddc9768469cb8c25387dc0c75dd4f40ea71096.tar.gz |
[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>
Diffstat (limited to 'unpack-objects.c')
-rw-r--r-- | unpack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unpack-objects.c b/unpack-objects.c index 98b696cf2c..fbc899408e 100644 --- a/unpack-objects.c +++ b/unpack-objects.c @@ -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: |