X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=tig.1.txt;h=96c7c9c6b1eeaeae643cc3ac6c5eb3cf28fa8a65;hb=e177b41c8e3291088cf36cd4222fb806b6344d5c;hp=ee96a97b3277491e0490ece12789376b8e009c96;hpb=33d43e78b3c214adc9178b1c3b6e02311247da79;p=tig.git diff --git a/tig.1.txt b/tig.1.txt index ee96a97..96c7c9c 100644 --- a/tig.1.txt +++ b/tig.1.txt @@ -94,7 +94,9 @@ ENVIRONMENT VARIABLES --------------------- In addition to environment variables used by git (e.g. GIT_DIR), tig defines -the following: +the ones below. The command related environment variables have access to the +internal state of tig via replacement variables, such as `%(commit)` and +`%(blob)`. See manpage:tigrc[5] for a full list. TIGRC_USER:: Path of the user configuration file (defaults to `~/.tigrc`). @@ -125,30 +127,31 @@ 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. + used. TIG_BLOB_CMD:: The command used for the blob view. By default, git-cat-file(1) is - used. The command gets the blob ID. + used. FILES ----- '~/.tigrc':: - User configuration file. See gitlink:tigrc[5] for examples. + User configuration file. See manpage:tigrc[5] for examples. '{sysconfdir}/tigrc':: System wide configuration file. '$GIT_DIR/config':: - Repository config file. Read on start-up with the help of +'~/.gitconfig:: +'{sysconfdir}/etc/gitconfig:: + Git configuration files. Read on start-up with the help of git-config(1). include::BUGS[] COPYRIGHT --------- -Copyright (c) 2006-2008 Jonas Fonseca +Copyright (c) 2006-2009 Jonas Fonseca This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -158,8 +161,7 @@ the Free Software Foundation; either version 2 of the License, or SEE ALSO -------- -gitlink:tigrc[5], git(7), cogito(7), as well as other git repository browsers: -gitk(1), qgit(1), gitview(1). +manpage:tigrc[5], manpage:tigmanual[7], git(7), gitk(1) Online resources: