Nguyễn Thái Ngọc Duy <pclo...@gmail.com> writes: > 9d22778 (read-cache.c: write prefix-compressed names in the index - > 2012-04-04) defined these. Interestingly, they were not used by > read-cache.c, or anywhere in that patch. They were used in > builtin/update-index.c later for checking supported index > versions. Use them here too.
Thanks. > - if (hdr_version < 2 || 4 < hdr_version) > + if (hdr_version < INDEX_FORMAT_LB || > + hdr_version > INDEX_FORMAT_UB) > return error("bad index version %d", hdr_version); -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html