diff options
Diffstat (limited to 'src/pack.c')
| -rw-r--r-- | src/pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.c b/src/pack.c index 8de2d7814..2516bea93 100644 --- a/src/pack.c +++ b/src/pack.c @@ -722,7 +722,7 @@ static int pack_entry_find_offset( } } - if (found && pos + 1 < (int)p->num_objects) { + if (found && len != GIT_OID_HEXSZ && pos + 1 < (int)p->num_objects) { /* Check for ambiguousity */ const unsigned char *next = current + stride; |
