]> git.proxmox.com Git - libgit2.git/blobdiff - src/index.h
push: remove own copy of callbacks
[libgit2.git] / src / index.h
index 6d2904fdc00a2fbac85697e8726c77e7d12a034a..0f6f4e86e2097d2f0bb1341054b31dd01edb81d3 100644 (file)
@@ -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;