summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2019-01-12 02:13:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-01-14 20:13:05 (GMT)
commit150fe065f71778a6591566d6fde65171569a4b7a (patch)
treecdc2d2eaca21cb971756601af4cfa67af0545281 /cache.h
parentd7cf3a96e9a02a4fba870e5cce7bf1a51abf5e54 (diff)
downloadgit-150fe065f71778a6591566d6fde65171569a4b7a.zip
git-150fe065f71778a6591566d6fde65171569a4b7a.tar.gz
git-150fe065f71778a6591566d6fde65171569a4b7a.tar.bz2
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cache.h b/cache.h
index fdcd69b..326e73f 100644
--- a/cache.h
+++ b/cache.h
@@ -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);