commit 212b39d173639f6f9aab137db52b888d5e1022ec from: Christian Weisgerber date: Mon Feb 24 11:57:12 2020 UTC Sync the description of the -r flag from "tree" to the other commands. Clarify that if the current directory is a work tree, tog will pick the repository associated with this work tree by default. ok stsp commit - 083957f4072e9d36c5c770055348c03850e63b30 commit + 212b39d173639f6f9aab137db52b888d5e1022ec blob - 60eb4e57f26ec0a536d5512ff7e6ea9b9824606a blob + bda2731240200f40602cfea8febe058252a6059f --- tog/tog.1 +++ tog/tog.1 @@ -165,6 +165,9 @@ if invoked in a work tree, or to the repository's HEAD Use the repository at the specified path. If not specified, assume the repository is located at or above the current working directory. +If this directory is a +.Xr got 1 +work tree, use the repository path associated with this work tree. .El .It Cm diff Oo Fl r Ar repository-path Oc Ar object1 object2 Display the differences between two objects in the repository. @@ -215,6 +218,9 @@ are as follows: Use the repository at the specified path. If not specified, assume the repository is located at or above the current working directory. +If this directory is a +.Xr got 1 +work tree, use the repository path associated with this work tree. .El .It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path Display line-by-line history of a file at the specified path. @@ -274,6 +280,9 @@ automatically, provided the abbreviation is unique. Use the repository at the specified path. If not specified, assume the repository is located at or above the current working directory. +If this directory is a +.Xr got 1 +work tree, use the repository path associated with this work tree. .El .It Cm tree Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path Display the repository tree.