diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-02-18 21:57:53 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-03 20:23:49 +0200 |
| commit | 86194b2433b993666bb58e7818f5b1f4133c9a43 (patch) | |
| tree | c7165ed2c8d7f3bc291f49ef2d815ec29b24ac30 /src/filebuf.h | |
| parent | 32054c24a26ab386fb56c7333fa723459e7e8dff (diff) | |
| download | libgit2-86194b2433b993666bb58e7818f5b1f4133c9a43.tar.gz | |
Split packed from unpacked references
These two reference types are now stored separately to eventually allow
the removal/renaming of loose references and rewriting of the refs
packfile.
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'src/filebuf.h')
| -rw-r--r-- | src/filebuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filebuf.h b/src/filebuf.h index b2b5eaf4b..9db615fbd 100644 --- a/src/filebuf.h +++ b/src/filebuf.h @@ -12,6 +12,9 @@ #define GIT_FILEBUF_APPEND 0x2 #define GIT_FILEBUF_FORCE 0x4 +#define GIT_FILELOCK_EXTENSION ".lock\0" +#define GIT_FILELOCK_EXTLENGTH 6 + struct git_filebuf { char *path_original; char *path_lock; |
