X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/8eb627705bcfb8aa2079d3c553621aa024d79819..2b42e5d686833a9f45020dfeb8148832d0ad30f7:/tig.1.txt diff --git a/tig.1.txt b/tig.1.txt index aca40cb..94fa5a3 100644 --- a/tig.1.txt +++ b/tig.1.txt @@ -9,10 +9,10 @@ SYNOPSIS -------- [verse] tig [options] -tig [options] [--] [git log options] -tig [options] log [git log options] -tig [options] diff [git diff options] -tig [options] show [git show options] +tig [options] [--] [git options] +tig [options] log [git options] +tig [options] diff [git options] +tig [options] show [git options] tig [options] < [git command output] DESCRIPTION @@ -55,16 +55,16 @@ OPTIONS $ tig -- --since=1.month -log [git log options]:: +log:: Open log view using the given git log options. -diff [git diff options]:: +diff:: Open diff view using the given git diff options. -show [git show options]:: +show:: Open diff view using the given git show options. -[git log options]:: +[git options]:: tig(1) will stop the option parsing when the first command line parameter not starting with "-" is encountered. All options including this one will be @@ -93,10 +93,21 @@ TIG_MAIN_CMD:: the option: `--pretty=raw` since the main view parser expects to read that format. +Tree commands +~~~~~~~~~~~~~ +TIG_TREE_CMD:: + The command used for the tree view. By default, git-ls-tree(1) is + used. The commands should expect first the commit ID and second + a path. + +TIG_BLOB_CMD:: + The command used for the blob view. By default, git-cat-file(1) is + used. The command gets the blob ID. + FILES ----- '~/.tigrc':: - User configuration file. See tigrc(5) for examples. + User configuration file. See gitlink:tigrc[5] for examples. '.git/config':: Repository config file. Read on startup with the help of @@ -115,15 +126,10 @@ the Free Software Foundation; either version 2 of the License, or SEE ALSO -------- -- link:http://www.kernel.org/pub/software/scm/git/docs/[git(7)], -- link:http://www.kernel.org/pub/software/scm/cogito/docs/[cogito(7)] - -Other git repository browsers: -- gitk(1) -- qgit(1) -- gitview(1) +gitlink:tigrc[5], git(7), cogito(7), as well as other git repository browsers: +gitk(1), qgit(1), gitview(1). -Sites: +Online resources: include::SITES[]