summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-02-18 21:57:53 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-03 20:23:49 +0200
commit86194b2433b993666bb58e7818f5b1f4133c9a43 (patch)
treec7165ed2c8d7f3bc291f49ef2d815ec29b24ac30 /src/filebuf.c
parent32054c24a26ab386fb56c7333fa723459e7e8dff (diff)
downloadlibgit2-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.c')
-rw-r--r--src/filebuf.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index 1359f11d1..a71c57a47 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -28,9 +28,6 @@
#include "filebuf.h"
#include "fileops.h"
-static const char *GIT_FILELOCK_EXTENSION = ".lock\0";
-static const size_t GIT_FILELOCK_EXTLENGTH = 6;
-
static const size_t WRITE_BUFFER_SIZE = (4096 * 2);
static int lock_file(git_filebuf *file, int flags)