diff options
author | Colin Walters <walters@verbum.org> | 2011-12-22 11:04:08 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-12-22 11:04:08 -0500 |
commit | d25f1bf73d3b992a3209bd908faff489d8309443 (patch) | |
tree | dc4889d35418145285f39f93aaffc7b3d632550a /src/ostree/ot-builtin-log.c | |
parent | 8a499c4a2a9899f42b57d09acbd011ca028d50a4 (diff) | |
download | ostree-d25f1bf73d3b992a3209bd908faff489d8309443.tar.gz |
core: Use GFile for repo constructor API, and a bit more internally
Also, ensure that the repo directory GFile is absolute - this avoids
a getcwd() syscall every time we construct a GFile object.
Diffstat (limited to 'src/ostree/ot-builtin-log.c')
-rw-r--r-- | src/ostree/ot-builtin-log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-builtin-log.c b/src/ostree/ot-builtin-log.c index 9f55fb32..ebdbcd35 100644 --- a/src/ostree/ot-builtin-log.c +++ b/src/ostree/ot-builtin-log.c @@ -32,7 +32,7 @@ static GOptionEntry options[] = { }; gboolean -ostree_builtin_log (int argc, char **argv, const char *repo_path, GError **error) +ostree_builtin_log (int argc, char **argv, GFile *repo_path, GError **error) { GOptionContext *context; gboolean ret = FALSE; |