Download raw body.
tog.1: sync -r description
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. diff 09b5bff804353d5930f67d05e453815493aeb225 /home/naddy/got blob - 60eb4e57f26ec0a536d5512ff7e6ea9b9824606a file + tog/tog.1 --- 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. -- Christian "naddy" Weisgerber naddy@mips.inka.de
tog.1: sync -r description