Commit 2ba55c1f0df3400c15dbdd7b21d1f3d354ab2e3c

Vicent Marti 2013-05-01T15:20:08

refdb: Proper namespace root

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 5228cb8..6f2162e 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -1011,7 +1011,7 @@ int git_refdb_backend_fs(
 
 	git_buf_puts(&path, repository->path_repository);
 	if (repository->namespace != NULL)
-		git_buf_printf(&path, "refs/%s/", repository->namespace);
+		git_buf_printf(&path, "refs/namespaces/%s/", repository->namespace);
 
 	backend->path = git_buf_detach(&path);