Commit Diff


commit - aac3e701f34e450da56ffe39b136263b8821d85a
commit + 0ac95f6598177311dd7c3f16f1da85854f0437dc
blob - ff51dcada6ea9946aed98884cc5f0bdaa65a5164
blob + 2f2d51be710c9d1ff0291d1284b33f43eb85e145
--- got/got.1
+++ got/got.1
@@ -383,8 +383,10 @@ Fetch all branches from the remote repository's
 reference namespace.
 This option can be enabled by default for specific repositories in
 .Xr got.conf 5 .
-If this option is not specified, a branch resolved via the remote
-repository's HEAD reference will be fetched.
+If this option is not specified, the work tree's current branch
+will be fetched if invoked within a work tree,
+otherwise a branch resolved via the remote repository's HEAD reference
+will be fetched.
 Cannot be used together with the
 .Fl b
 option.