Commit f2d6a23aa6ed823b68d1a81c211044d581972aa3

nulltoken 2010-12-21T05:21:33

Small code maintenability improvement.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/repository.c b/src/repository.c
index 4ef4b1f..6af75f7 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -35,10 +35,11 @@
 
 #define GIT_DIR "/.git/"
 #define GIT_OBJECTS_DIR "objects/"
-#define GIT_OBJECTS_INFO_DIR "objects/info/"
-#define GIT_OBJECTS_PACK_DIR "objects/pack/"
-#define GIT_REFS_HEADS_DIR "refs/heads/"
-#define GIT_REFS_TAGS_DIR "refs/tags/"
+#define GIT_OBJECTS_INFO_DIR GIT_OBJECTS_DIR "info/"
+#define GIT_OBJECTS_PACK_DIR GIT_OBJECTS_DIR "pack/"
+#define GIT_REFS_DIR "refs/"
+#define GIT_REFS_HEADS_DIR GIT_REFS_DIR "heads/"
+#define GIT_REFS_TAGS_DIR GIT_REFS_DIR "tags/"
 
 #define GIT_INDEX_FILE "index"
 #define GIT_HEAD_FILE "HEAD"