Commit Diff


commit - 09cbb981df84d9c12f0fa371cb6b85d3f1b615c0
commit + 66d2f9c8151ab2386b1b9369c63d9bbc500243b1
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.