Commit 5aa20203afe33ce0cfd4dfc29e73626517246fab

Stefan Sperling 2021-01-05T17:51:49

document that 'got clone -a' sets 'fetch-all-branches' in got.conf(5)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/got/got.1 b/got/got.1
index 0c9b093..17b5f07 100644
--- a/got/got.1
+++ b/got/got.1
@@ -207,7 +207,12 @@ are as follows:
 .It Fl a
 Fetch all branches from the remote repository's
 .Dq refs/heads/
-reference namespace.
+reference namespace and set
+.Cm fetch-all-branches
+in the cloned repository's
+.Xr got.conf 5
+file for future use by
+.Cm got fetch .
 If this option is not specified, a branch resolved via the remote
 repository's HEAD reference will be fetched.
 Cannot be used together with the