diff options
| author | Vicent Marti <tanoku@gmail.com> | 2010-11-14 22:11:46 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2010-11-16 02:59:28 +0200 |
| commit | c3a20d5cab7d17cf55e769c39a3d50882e3d341d (patch) | |
| tree | b00021319f63036e8a08c2b99d70e409adf111ef /src/git/common.h | |
| parent | 7a3924fc38b63313e84c6339d2fd56084f5aeea6 (diff) | |
| download | libgit2-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/git/common.h')
| -rw-r--r-- | src/git/common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/git/common.h b/src/git/common.h index 82f08ac5d..cbc77e991 100644 --- a/src/git/common.h +++ b/src/git/common.h @@ -105,6 +105,9 @@ /** The queried object is currently busy */ #define GIT_EBUSY (GIT_ERROR - 13) +/** The index file is not backed up by an existing repository */ +#define GIT_EBAREINDEX (GIT_ERROR -14) + GIT_BEGIN_DECL |
