-
由 René Scharfe 提交于
While checking if a new alternate object database is a duplicate make sure that old and new base paths have the same length before comparing them with memcmp. This avoids overrunning the buffer of the existing entry if the new one is longer and it stops rejecting foobar/ after foo/ was already added. Signed-off-by: NRene Scharfe <ls.r@web.de> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
80b47854