Commit 0032ca7199dad2b8f41cd8e30ce889dfe3575fa6

Stefan Sperling 2019-01-23T16:47:52

In got.1, clarify that 'got update' operates on current branch only.

diff --git a/got/got.1 b/got/got.1
index 8ea64bf..1f262f0 100644
--- a/got/got.1
+++ b/got/got.1
@@ -94,7 +94,7 @@ Only files beneath the specified
 will be checked out.
 .El
 .It Cm update [ Fl c Ar commit ] [ work-tree-path ]
-Update an existing work tree to another commit.
+Update an existing work tree to another commit on the current branch.
 By default, the latest commit on the current branch is assumed.
 If the
 .Ar work tree path
@@ -107,8 +107,7 @@ are as follows:
 .It Fl c Ar commit
 Update the work tree to the specified
 .Ar commit .
-The expected argument is the name of a branch or a SHA1 hash which corresponds
-to a commit object.
+The expected argument is a SHA1 hash which corresponds to a commit object.
 .El
 .\".It Cm status
 .\"Show current status of files.