pull: Add depth support
For mirroring in particular, we really want to be able to traverse all history. $ ostree --repo=repo pull --mirror --depth=-1 https://bugzilla.gnome.org/show_bug.cgi?id=739240
This commit is contained in:
1 parent
64dec0add8
commit
bcf40b4902
5 files changed
+150
-4
No files matched your search
@@ -2207,6 +2207,7 @@ ostree_repo_pull_one_dir (OstreeRepo *self,
|
||||
* * subdir (s): Pull just this subdirectory
|
||||
* * flags (i): An instance of #OstreeRepoPullFlags
|
||||
* * refs: (as): Array of string refs
|
||||
* * depth: (i): How far in the history to traverse; default is 0, -1 means infinite
|
||||
*/
|
||||
gboolean
|
||||
ostree_repo_pull_with_options (OstreeRepo *self,
|
||||
|
||||
Reference in new issue
Block a user