Merge pull request #2476 from valentindavid/valentindavid/glib-fix

lib: Fix a bad call to g_file_get_child
This commit is contained in:
Colin Walters authored and GitHub committed 2021-11-09 09:27:18 -05:00
commit 1a86517d65
1 file changed
+1 -1
+1 -1
View File
@@ -1389,7 +1389,7 @@ ostree_repo_checkout_at (OstreeRepo *self,
g_autoptr(GFile) target_dir = NULL;
if (strcmp (options->subpath, "/") != 0)
target_dir = g_file_get_child (commit_root, options->subpath);
target_dir = g_file_resolve_relative_path (commit_root, options->subpath);
else
target_dir = g_object_ref (commit_root);
g_autoptr(GFileInfo) target_info =