]> git.ipfire.org Git - thirdparty/git.git/commit - ref-filter.c
ref-filter: add check for negative file size
authorOlga Telezhnaya <olyatelezhnaya@gmail.com>
Mon, 24 Dec 2018 13:24:30 +0000 (13:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 28 Dec 2018 18:07:34 +0000 (10:07 -0800)
commit5305a55348c102475c1bcb56e8fcbabe37178112
tree8c47447fd6519fd9985dae19bdd860b3ba4db82d
parent1867ce6cbec9c8f23f958cb675de129fcd6471a4
ref-filter: add check for negative file size

If we have negative file size, we are doing something wrong.

Signed-off-by: Olga Telezhnaia <olyatelezhnaya@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ref-filter.c