[gnome-software] flatpak: Ensure the commit is set when we're refining the origin
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] flatpak: Ensure the commit is set when we're refining the origin
- Date: Tue, 20 Jun 2017 16:05:06 +0000 (UTC)
commit 5b3360f81c36b70480fc36e3f961c18c9313d553
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 20 16:24:50 2017 +0100
flatpak: Ensure the commit is set when we're refining the origin
If we've gone to all this trouble, it makes sense to set it too.
plugins/flatpak/gs-flatpak.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 9b27911..541997f 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -1401,6 +1401,7 @@ gs_flatpak_refine_origin_from_installation (GsFlatpak *self,
if (xref != NULL) {
g_debug ("found remote %s", remote_name);
gs_app_set_origin (app, remote_name);
+ gs_app_set_flatpak_commit (app, flatpak_ref_get_commit (FLATPAK_REF (xref)));
return TRUE;
}
g_debug ("failed to find remote %s: %s",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]