.nf
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]
.fi
.fi
.TP
-log [git log options]
+log
Open log view using the given git log options\&.
.TP
-diff [git diff options]
+diff
Open diff view using the given git diff options\&.
.TP
-show [git show options]
+show
Open diff view using the given git show options\&.
.TP
-[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 passed to git log when loading the main view\&. This makes it possible to say:
.nf
TIG_MAIN_CMD
The command used for the main view\&. Note, you must always specify the option: \-\-pretty=raw since the main view parser expects to read that format\&.
+.SS "Tree commands"
+
+.TP
+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\&.
+
+.TP
+TIG_BLOB_CMD
+The command used for the blob view\&. By default, git\-cat\-file(1) is used\&. The command gets the blob ID\&.
+
.SH "FILES"
.TP
.TP
\fI\&.git/config\fR
-Repository config file\&. Read on startup with the help of git\-repo\-config(1)\&.
+Repository config file\&. Read on start\-up with the help of git\-repo\-config(1)\&.
.SH "BUGS"
.TP 3
\(bu
-In it's current state tig is pretty much UTF\-8 only\&.
-.TP
-\(bu
-If the screen width is very small the main view can draw outside the current view causing bad wrapping\&. Same goes for title and status windows\&.
+Proper locale support: in it's current state tig is pretty much UTF\-8 only\&.
.TP
\(bu
-The cursor can wrap\-around on the last line and cause the window to scroll\&.
+Horizontal scrolling\&.
.LP
.SH "COPYRIGHT"