Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-10-30 20:40:50 +0400
committerRussell Belfer <rb@github.com>2012-10-30 20:40:50 +0400
commitdb106d01f093b3e61170e3738d6651a2866cb76e (patch)
tree0028e57a8490841e60f7b84ce2a3abe0634d54c3 /src/vector.h
parentb4f5bb074721823cc016b66a9984abe2c271cb1f (diff)
Move rename detection into new file
This improves the naming for the rename related functionality moving it to be called `git_diff_find_similar()` and renaming all the associated constants, etc. to make more sense. I also moved the new code (plus the existing `git_diff_merge`) into a new file `diff_tform.c` where I can put new functions related to manipulating git diff lists. This also updates the implementation significantly from the last revision fixing some ordering issues (where break-rewrite needs to be handled prior to copy and rename detection) and improving config option handling.
Diffstat (limited to 'src/vector.h')
-rw-r--r--src/vector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vector.h b/src/vector.h
index 49ba754f0..8886371e8 100644
--- a/src/vector.h
+++ b/src/vector.h
@@ -76,4 +76,7 @@ int git_vector_remove(git_vector *v, unsigned int idx);
void git_vector_pop(git_vector *v);
void git_vector_uniq(git_vector *v);
+int git_vector_resize_to(git_vector *v, size_t new_length);
+int git_vector_set(void **old, git_vector *v, size_t position, void *value);
+
#endif