diff options
Diffstat (limited to 'src/index.h')
-rw-r--r-- | src/index.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.h b/src/index.h index 6d2904fdc..0f6f4e86e 100644 --- a/src/index.h +++ b/src/index.h @@ -93,6 +93,8 @@ extern int git_index_snapshot_find( size_t *at_pos, git_vector *snap, git_vector_cmp entry_srch, const char *path, size_t path_len, int stage); +/* Replace an index with a new index */ +int git_index_read_index(git_index *index, const git_index *new_index); typedef struct { git_index *index; |