$ make install-docs
+Edit the Makefile if you need to configure specific compiler or linker flags.
+On FreeBSD for example the c library does not support the iconv interface and
+to compile tig you need to append `-L/usr/local/lib -liconv` to `LDLIBS` and
+`-I/usr/local/include` to the `CFLAGS` variable.
+
The following tools and packages are needed:
`-------------------------------`----------------------------------------------
ncurses Be sure to also have development files \
installed. Usually they are available in a \
separate package ending with `-dev`.
+iconv If iconv is not provided by the c library \
+ you need to change the Makefile to link it \
+ into the binary.
asciidoc (>= 7.0), xmlto For building documentation. (Optional)
-------------------------------------------------------------------------------
- - Homepage: http://jonas.nitro.dk/tig[]
- - Manual: http://jonas.nitro.dk/tig/manual.html[]
- - Releases: http://jonas.nitro.dk/tig/releases[]
- - Git URL: http://jonas.nitro.dk/tig/tig.git[]
- - Gitweb: http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary[]
+ - Homepage: http://jonas.nitro.dk/tig[]
+ - Manual: http://jonas.nitro.dk/tig/manual.html[]
+ - Releases: http://jonas.nitro.dk/tig/releases[]
+ - Git URL: http://jonas.nitro.dk/tig/tig.git[] or
+ git://repo.or.cz/tig.git
+ - Gitweb: http://repo.or.cz/?p=tig.git;a=summary[]
the option: `--pretty=raw` since the main view parser expects to
read that format.
+[[tree-commands]]
+Tree Commands
+~~~~~~~~~~~~~
+
+TIG_TREE_CMD::
+ 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".
+
+TIG_BLOB_CMD::
+ The command used for the blob view. Takes one argument which is
+ the blob ID. Defaults to "git cat-file blob %s".
+
[[viewer]]
The Viewer
----------