summaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2010-11-14 22:11:46 +0200
committerVicent Marti <tanoku@gmail.com>2010-11-16 02:59:28 +0200
commitc3a20d5cab7d17cf55e769c39a3d50882e3d341d (patch)
treeb00021319f63036e8a08c2b99d70e409adf111ef /src/index.h
parent7a3924fc38b63313e84c6339d2fd56084f5aeea6 (diff)
downloadlibgit2-c3a20d5cab7d17cf55e769c39a3d50882e3d341d.tar.gz
Add support for 'index add'
Actually add files to the index by creating their corresponding blob and storing it on the repository, then getting the hash and updating the index file. Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.h b/src/index.h
index 6a3c11e82..818f1f120 100644
--- a/src/index.h
+++ b/src/index.h
@@ -26,9 +26,8 @@ struct git_index_tree {
typedef struct git_index_tree git_index_tree;
struct git_index {
-
+ git_repository *repository;
char *index_file_path;
- char *working_path;
time_t last_modified;