Do "bare" repositories by default
Mixing the repository and checkouts is discouraged.
This commit is contained in:
1 parent
648f3ac717
commit
961b1c80db
5 files changed
+9
-49
No files matched your search
@@ -133,8 +133,9 @@ ostree_repo_constructor (GType gtype,
|
||||
g_assert (priv->path != NULL);
|
||||
|
||||
priv->repo_file = ot_util_new_file_for_path (priv->path);
|
||||
priv->head_ref_path = g_build_filename (priv->path, OSTREE_REPO_DIR, "HEAD", NULL);
|
||||
priv->objects_path = g_build_filename (priv->path, OSTREE_REPO_DIR, "objects", NULL);
|
||||
|
||||
priv->head_ref_path = g_build_filename (priv->path, "HEAD", NULL);
|
||||
priv->objects_path = g_build_filename (priv->path, "objects", NULL);
|
||||
|
||||
return object;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user