mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-08 08:58:46 +03:00
Merge pull request #2476 from valentindavid/valentindavid/glib-fix
lib: Fix a bad call to g_file_get_child
This commit is contained in:
commit
1a86517d65
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user