diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2019-01-12 05:13:31 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-14 23:13:05 +0300 |
commit | 150fe065f71778a6591566d6fde65171569a4b7a (patch) | |
tree | cdc2d2eaca21cb971756601af4cfa67af0545281 /cache.h | |
parent | d7cf3a96e9a02a4fba870e5cce7bf1a51abf5e54 (diff) |
read-cache.c: remove the_* from index_has_changes()
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -706,9 +706,9 @@ extern int unmerged_index(const struct index_state *); * provided, the space-separated list of files that differ will be appended * to it. */ -extern int index_has_changes(struct index_state *istate, - struct tree *tree, - struct strbuf *sb); +extern int repo_index_has_changes(struct repository *repo, + struct tree *tree, + struct strbuf *sb); extern int verify_path(const char *path, unsigned mode); extern int strcmp_offset(const char *s1, const char *s2, size_t *first_change); |