Signed-off-by: Junio C Hamano <gitster@xxxxxxxxx> --- sha1_name.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sha1_name.c b/sha1_name.c index 03ffc2c..5b0c845 100644 --- a/sha1_name.c +++ b/sha1_name.c @@ -103,10 +103,10 @@ static int find_short_packed_object(int len, const unsigned char *match, unsigne } if (first < num) { const unsigned char *now, *next; - now = nth_packed_object_sha1(p, first); + now = nth_packed_object_sha1(p, first); if (match_sha(len, match, now)) { next = nth_packed_object_sha1(p, first+1); - if (!next|| !match_sha(len, match, next)) { + if (!next|| !match_sha(len, match, next)) { /* unique within this pack */ if (!found) { found_sha1 = now; -- 1.7.11.1.229.g706c98f -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html