diff options
author | Brad Roberts <braddr@puremagic.com> | 2005-05-14 19:04:25 -0700 |
---|---|---|
committer | Petr Baudis <xpasky@machine.sinus.cz> | 2005-05-15 12:37:39 +0200 |
commit | dbbce55b3a1129fcc6c5141dd5b8053512286b83 (patch) | |
tree | e08545d53dffcc8d523d7e3ac9fbd81f7fb4d39f /cache.h | |
parent | 5d728c8411a092f80171f787b5409d98978690c7 (diff) | |
download | git-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.gz git-dbbce55b3a1129fcc6c5141dd5b8053512286b83.tar.xz |
Rename some more cache-related functions
same_name -> ce_same_name()
remove_entry_at() -> remove_cache_entry_at()
Signed-off-by: Brad Roberts <braddr@puremagic.com>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -126,9 +126,9 @@ extern int cache_name_pos(const char *name, int namelen); #define ADD_CACHE_OK_TO_ADD 1 /* Ok to add */ #define ADD_CACHE_OK_TO_REPLACE 2 /* Ok to replace file/directory */ extern int add_cache_entry(struct cache_entry *ce, int option); -extern int remove_entry_at(int pos); +extern int remove_cache_entry_at(int pos); extern int remove_file_from_cache(char *path); -extern int same_name(struct cache_entry *a, struct cache_entry *b); +extern int ce_same_name(struct cache_entry *a, struct cache_entry *b); extern int ce_match_stat(struct cache_entry *ce, struct stat *st); extern int index_fd(unsigned char *sha1, int fd, struct stat *st); |