summaryrefslogtreecommitdiff
path: root/src/repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h
index 5bf041140..c8e4186b3 100644
--- a/src/repository.h
+++ b/src/repository.h
@@ -10,6 +10,11 @@
#include "index.h"
#include "refs.h"
+#define DOT_GIT ".git"
+#define GIT_DIR DOT_GIT "/"
+#define GIT_OBJECTS_DIR "objects/"
+#define GIT_INDEX_FILE "index"
+
typedef struct {
git_rawobj raw;
void *write_ptr;