summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuhei Tanuma <shuhei.tanuma@gmail.com>2011-02-06 15:48:52 +0900
committerShuhei Tanuma <shuhei.tanuma@gmail.com>2011-02-06 15:48:52 +0900
commit56ab8c5437cb4d92e34d088c6c134b311bc179b5 (patch)
tree1b3733b4fefecfc7dd9676e3d294b54cc6d91beb
parentfb8dd803b76020cc42103b506aed4c975ca047bd (diff)
downloadlibgit2-56ab8c5437cb4d92e34d088c6c134b311bc179b5.tar.gz
fix can't detect repository index issues.
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index 3093cf5bd..81d112568 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/"