diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:22 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:22 -0800 |
| commit | 09a9c1f427c110f1281eea55c48596c8c8701a13 (patch) | |
| tree | 06c8f6685e4ca005aa2367d9b4ae95368d2eb170 /cache.h | |
| parent | Merge branch 'tb/utf-16-le-with-explicit-bom' (diff) | |
| parent | bisect--helper: `bisect_start` shell function partially in C (diff) | |
| download | git-09a9c1f427c110f1281eea55c48596c8c8701a13.tar.gz git-09a9c1f427c110f1281eea55c48596c8c8701a13.zip | |
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 */ |
