]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()
authorPranit Bauva <pranit.bauva@gmail.com>
Wed, 2 Jan 2019 15:38:32 +0000 (07:38 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 18:23:02 +0000 (10:23 -0800)
commite3b1e3bdc0aa5fa6a474874a2395ae0584b2aea7
tree386a67166934950ca7779382b767bd7a1416c4b9
parent0f30233a11f6d89fb387ddf96db64877adb90713
wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()

is_empty_file() can help to refactor a lot of code. This will be very
helpful in porting "git bisect" to C.

Suggested-by: Torsten Bögershausen <tboegi@web.de>
Mentored-by: Lars Schneider <larsxschneider@gmail.com>
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Pranit Bauva <pranit.bauva@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
cache.h
wrapper.c