X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/168352eaabb19cdcaeaa7e0d4ef6f97b103e7b29..60e10e16c82e25bf2d52a3def45c93633e3c2b5c:/manual.html?ds=sidebyside diff --git a/manual.html b/manual.html index 0bf8c90..43a2b14 100644 --- a/manual.html +++ b/manual.html @@ -306,6 +306,11 @@ commit with the log message, diffstat, and the diff.
History Commands ++Searching +
++ The command used for the tree view. Takes two arguments, the first + is the revision ID and the second is the path of the directory tree, + empty for the root directory. Defaults to "git ls-tree %s %s". +
++ The command used for the blob view. Takes one argument which is + the blob ID. Defaults to "git cat-file blob %s". +
+The viewer keeps track of both what head and commit ID you are currently -viewing. The commit ID will follow the cursor line and change everytime time +viewing. The commit ID will follow the cursor line and change every time you highlight a different commit. Whenever you reopen the diff view it will be reloaded, if the commit ID changed.
The head ID is used when opening the main and log view to indicate from what @@ -570,6 +602,25 @@ The diff view
+ Lists directory trees associated with the current revision allowing + subdirectories to be descended or ascended and file blobs to be + viewed. +
++ Displays the file content or "blob" of data associated with a file + name. +
++ Key + | ++ Action + | +
---|---|
+ / + | ++ Search the view. Opens a prompt for entering search regex to use. + | +
+ ? + | ++ Search backwards in the view. Also prompts for regex. + | +
+ n + | ++ Find next match for the current search regex. + | +
+ N + | ++ Find previous match for the current search regex. + | +
- n + . |
Toggle line numbers on/off.
@@ -931,7 +1051,7 @@ cellspacing="0" cellpadding="4">
This section describes various ways to specify what revisions to display or otherwise limit the view to. Tig does not itself parse the described -revision options so refer to the relevant git man pages for futher +revision options so refer to the relevant git man pages for further information. Relevant man pages besides git-log(1) are git-diff(1) and git-rev-list(1). You can tune the interaction with git by making use of the options explained @@ -1034,20 +1154,12 @@ accomplished using:
|