diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-07 09:05:22 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-07 09:05:22 +0300 |
commit | 09a9c1f427c110f1281eea55c48596c8c8701a13 (patch) | |
tree | 06c8f6685e4ca005aa2367d9b4ae95368d2eb170 /cache.h | |
parent | 0fa3cc77ee9fb3b6bb53c73688c9b7500f996b83 (diff) | |
parent | 06f5608c14e6972748b84649d5b8ffd335bbd209 (diff) |
Merge branch 'tt/bisect-in-c'
More code in "git bisect" has been rewritten in C.
* tt/bisect-in-c:
bisect--helper: `bisect_start` shell function partially in C
bisect--helper: `get_terms` & `bisect_terms` shell function in C
bisect--helper: `bisect_next_check` shell function in C
bisect--helper: `check_and_set_terms` shell function in C
wrapper: move is_empty_file() and rename it as is_empty_or_missing_file()
bisect--helper: `bisect_write` shell function in C
bisect--helper: `bisect_reset` shell function in C
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1822,4 +1822,7 @@ void safe_create_dir(const char *dir, int share); */ extern int print_sha1_ellipsis(void); +/* Return 1 if the file is empty or does not exists, 0 otherwise. */ +extern int is_empty_or_missing_file(const char *filename); + #endif /* CACHE_H */ |