lib: Add URL override pull option

The "override-url" option allows to use the other URL while still
using some options from the passed remote.

Closes: #271
Approved by: cgwalters
This commit is contained in:
Krzesimir Nowak authored and Colin Walters (automation) committed 2016-04-22 14:27:06 +00:00
1 parent ad019def9a
commit 08d2b8ab7b
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -4077,6 +4077,7 @@ ostree_repo_pull_one_dir (OstreeRepo *self,
* * require-static-deltas (b): Require static deltas
* * override-commit-ids (as): Array of specific commit IDs to fetch for refs
* * dry-run (b): Only print information on what will be downloaded (requires static deltas)
* * override-url (s): Fetch objects from this URL if remote specifies no metalink in options
*/
gboolean
ostree_repo_pull_with_options (OstreeRepo *self,