Commit 13317a5e0f99a74c9bda33a5e20770c158fc863b

Vicent Marti 2011-02-07T08:03:06

Merge branch 'chobie_git_dir_fix' of https://github.com/chobie/libgit2

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/repository.c b/src/repository.c
index 3093cf5..81d1125 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -35,7 +35,7 @@
 
 #include "refs.h"
 
-#define GIT_DIR "/.git/"
+#define GIT_DIR ".git/"
 #define GIT_OBJECTS_DIR "objects/"
 #define GIT_OBJECTS_INFO_DIR GIT_OBJECTS_DIR "info/"
 #define GIT_OBJECTS_PACK_DIR GIT_OBJECTS_DIR "pack/"