X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=cache.h;h=514adb8f8ed621d98175bea0d701576de13eb620;hb=d1c5f2a42d7b5c0e3d3862212dea1f09809c4963;hp=ec2a1610b2fd6edec6c95847d4377f9c0241b738;hpb=79a9d8ea0d88a3667ad19be8e705405ab5d896f1;p=git.git diff --git a/cache.h b/cache.h index ec2a1610..514adb8f 100644 --- a/cache.h +++ b/cache.h @@ -165,6 +165,7 @@ extern int ce_match_stat(struct cache_entry *ce, struct stat *st); extern int ce_modified(struct cache_entry *ce, struct stat *st); extern int ce_path_match(const struct cache_entry *ce, const char **pathspec); extern int index_fd(unsigned char *sha1, int fd, struct stat *st, int write_object, const char *type); +extern int index_path(unsigned char *sha1, const char *path, struct stat *st, int write_object); extern void fill_stat_cache_info(struct cache_entry *ce, struct stat *st); struct cache_file {