diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-07-26 03:52:35 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-07-26 13:36:36 -0700 |
commit | 11be42a47632a6f7219d34f5e312aa20ae076142 (patch) | |
tree | 67fb9d00882b55dfdc8a0355ed744759179e71aa /cache.h | |
parent | 8fd2cb4069178539d8cf7711586d4e6378722bf3 (diff) | |
download | git-11be42a47632a6f7219d34f5e312aa20ae076142.tar.gz git-11be42a47632a6f7219d34f5e312aa20ae076142.tar.xz |
Make git-mv a builtin
This also moves add_file_to_index() to read-cache.c. Oh, and while
touching builtin-add.c, it also removes a duplicate git_config() call.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,6 +154,7 @@ extern int add_cache_entry(struct cache_entry *ce, int option); extern struct cache_entry *refresh_cache_entry(struct cache_entry *ce, int really); extern int remove_cache_entry_at(int pos); extern int remove_file_from_cache(const char *path); +extern int add_file_to_index(const char *path, int verbose); 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, int); extern int ce_modified(struct cache_entry *ce, struct stat *st, int); |