From: Philip Withnall Date: Mon, 20 Nov 2017 12:50:16 +0000 (+0000) Subject: lib/pull: Fix capitalisation in binding verification error messages X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~28^2~19 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=609bd4748ea266735392627b2463e9134510abeb;p=ostree.git lib/pull: Fix capitalisation in binding verification error messages Make them suitable for output from fsck. Signed-off-by: Philip Withnall Closes: #1347 Approved by: cgwalters --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 42d802b2..4de2e8f3 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -1525,7 +1525,7 @@ _ostree_repo_verify_bindings (const char *collection_id, return TRUE; return glnx_throw (error, - "expected commit metadata to have ref " + "Expected commit metadata to have ref " "binding information, found none"); } @@ -1554,7 +1554,7 @@ _ostree_repo_verify_bindings (const char *collection_id, refs_str = "no refs"; } - return glnx_throw (error, "commit has no requested ref ‘%s’ " + return glnx_throw (error, "Commit has no requested ref ‘%s’ " "in ref binding metadata (%s)", ref_name, refs_str); } @@ -1569,11 +1569,11 @@ _ostree_repo_verify_bindings (const char *collection_id, "&s", &collection_id_binding)) return glnx_throw (error, - "expected commit metadata to have collection ID " + "Expected commit metadata to have collection ID " "binding information, found none"); if (!g_str_equal (collection_id_binding, collection_id)) return glnx_throw (error, - "commit has collection ID ‘%s’ in collection binding " + "Commit has collection ID ‘%s’ in collection binding " "metadata, while the remote it came from has " "collection ID ‘%s’", collection_id_binding, collection_id);