Commit 56ab8c5437cb4d92e34d088c6c134b311bc179b5

Shuhei Tanuma 2011-02-06T15:48:52

fix can't detect repository index issues.

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/"