commit 71f1236254d4e20d9b69f7569c3518cde9f1c4be from: Stefan Sperling date: Sat Mar 21 23:24:06 2020 UTC document that clone and fetch -R options accept reference namespaces commit - 4d482d9dae736f391c9710c720583ff1a396af41 commit + 71f1236254d4e20d9b69f7569c3518cde9f1c4be blob - efbe8f05819865d8eb7fda40e616f84707676114 blob + 78f00bc721cc406a6a283ffd6943a949b2f066ee --- got/got.1 +++ got/got.1 @@ -281,8 +281,12 @@ from the remote repository's namespace. This option may be specified multiple times to build a list of additional references to fetch. +The specified +.Ar reference +may either be a full path to a specific reference, or a reference namespace +which will cause all references in this namespace to be fetched. .Pp -The references will be mapped into the cloned repository's +Each reference will be mapped into the cloned repository's .Dq refs/remotes/ namespace, unless the .Fl m @@ -416,6 +420,10 @@ from the remote repository's namespace. This option may be specified multiple times to build a list of additional references to fetch. +The specified +.Ar reference +may either be a full path to a specific reference, or a reference namespace +which will cause all references in this namespace to be fetched. .Pp Each reference will be mapped into the local repository's .Dq refs/remotes/