chiark / gitweb /
Merge with master
authorJonas Fonseca <fonseca@diku.dk>
Sun, 24 Sep 2006 23:13:51 +0000 (01:13 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Sun, 24 Sep 2006 23:13:51 +0000 (01:13 +0200)
README.html [new file with mode: 0644]
manual.html [new file with mode: 0644]
tig.1 [new file with mode: 0644]
tig.1.html [new file with mode: 0644]
tigrc.5 [new file with mode: 0644]
tigrc.5.html [new file with mode: 0644]

diff --git a/README.html b/README.html
new file mode 100644 (file)
index 0000000..2501670
--- /dev/null
@@ -0,0 +1,100 @@
+<div style="font-family: monospace;">\r
+<h1>Tig: text-mode interface for git</h1>\r
+<div id="preamble">\r
+<div class="sectionbody">\r
+<p>Tig is a git repository browser that additionally can act as a pager for output\r
+from various git commands.</p>\r
+<p>When browsing repositories, it uses the underlying git commands to present the\r
+user with various views, such as summarized revision log and showing the commit\r
+with the log message, diffstat, and the diff.</p>\r
+<p>Using it as a pager, it will display input from stdin and colorize it.</p>\r
+</div>\r
+</div>\r
+<h2>Resources</h2>\r
+<div class="sectionbody">\r
+<ul>\r
+<li>\r
+<p>\r
+Homepage: <a href="http://jonas.nitro.dk/tig">http://jonas.nitro.dk/tig</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Git URL:  <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Gitweb: <a href="http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary">http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</div>\r
+<h2>Installation instructions</h2>\r
+<div class="sectionbody">\r
+<p>Download a tarball from <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a> or clone the tig\r
+repository <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>. Documentation files are\r
+available either in the tarballs or in the above repository in the branch named\r
+<em>release</em>.</p>\r
+<p>To install tig simply run:</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>$ make install</tt></pre>\r
+</div></div>\r
+<p>To install documentation run:</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>$ make install-docs</tt></pre>\r
+</div></div>\r
+<p>The following tools and packages are needed:</p>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="365" />\r
+<col width="537" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Tool\r
+    </th>\r
+    <th align="left">\r
+    Description\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    git-core\r
+    </td>\r
+    <td align="left">\r
+    Tig is just a frontend for git.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    ncurses\r
+    </td>\r
+    <td align="left">\r
+    Be sure to also have development files                                 installed. Usually they are available in a                                 separate package ending with <tt>-dev</tt>.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    asciidoc (&gt;= 7.0), xmlto\r
+    </td>\r
+    <td align="left">\r
+    For building documentation. (Optional)\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+</div>\r
+</div>\r
diff --git a/manual.html b/manual.html
new file mode 100644 (file)
index 0000000..2ee686d
--- /dev/null
@@ -0,0 +1,1229 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
+<style type="text/css">\r
+/* Debug borders */\r
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
+/*\r
+  border: 1px solid red;\r
+*/\r
+}\r
+\r
+body {\r
+  margin: 1em 5% 1em 5%;\r
+}\r
+\r
+a { color: blue; }\r
+a:visited { color: fuchsia; }\r
+\r
+em {\r
+  font-style: italic;\r
+}\r
+\r
+strong {\r
+  font-weight: bold;\r
+}\r
+\r
+tt {\r
+  color: navy;\r
+}\r
+\r
+h1, h2, h3, h4, h5, h6 {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  margin-top: 1.2em;\r
+  margin-bottom: 0.5em;\r
+  line-height: 1.3;\r
+}\r
+\r
+h1 {\r
+  border-bottom: 2px solid silver;\r
+}\r
+h2 {\r
+  border-bottom: 2px solid silver;\r
+  padding-top: 0.5em;\r
+}\r
+\r
+div.sectionbody {\r
+  font-family: serif;\r
+  margin-left: 0;\r
+}\r
+\r
+hr {\r
+  border: 1px solid silver;\r
+}\r
+\r
+p {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+pre {\r
+  padding: 0;\r
+  margin: 0;\r
+}\r
+\r
+span#author {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  font-size: 1.2em;\r
+}\r
+span#email {\r
+}\r
+span#revision {\r
+  font-family: sans-serif;\r
+}\r
+\r
+div#footer {\r
+  font-family: sans-serif;\r
+  font-size: small;\r
+  border-top: 2px solid silver;\r
+  padding-top: 0.5em;\r
+  margin-top: 4.0em;\r
+}\r
+div#footer-text {\r
+  float: left;\r
+  padding-bottom: 0.5em;\r
+}\r
+div#footer-badges {\r
+  float: right;\r
+  padding-bottom: 0.5em;\r
+}\r
+\r
+div#preamble,\r
+div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
+div.admonitionblock {\r
+  margin-right: 10%;\r
+  margin-top: 1.5em;\r
+  margin-bottom: 1.5em;\r
+}\r
+div.admonitionblock {\r
+  margin-top: 2.5em;\r
+  margin-bottom: 2.5em;\r
+}\r
+\r
+div.content { /* Block element content. */\r
+  padding: 0;\r
+}\r
+\r
+/* Block element titles. */\r
+div.title, caption.title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  text-align: left;\r
+  margin-top: 1.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+div.title + * {\r
+  margin-top: 0;\r
+}\r
+\r
+td div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content + div.title {\r
+  margin-top: 0.0em;\r
+}\r
+\r
+div.sidebarblock > div.content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.listingblock > div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock > div.content {\r
+  padding-left: 2.0em;\r
+}\r
+div.quoteblock .attribution {\r
+  text-align: right;\r
+}\r
+\r
+div.admonitionblock .icon {\r
+  vertical-align: top;\r
+  font-size: 1.1em;\r
+  font-weight: bold;\r
+  text-decoration: underline;\r
+  color: #527bbd;\r
+  padding-right: 0.5em;\r
+}\r
+div.admonitionblock td.content {\r
+  padding-left: 0.5em;\r
+  border-left: 2px solid silver;\r
+}\r
+\r
+div.exampleblock > div.content {\r
+  border-left: 2px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.verseblock div.content {\r
+  white-space: pre;\r
+}\r
+\r
+div.imageblock div.content { padding-left: 0; }\r
+div.imageblock img { border: 1px solid silver; }\r
+span.image img { border-style: none; }\r
+\r
+dl {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+dt {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0;\r
+  font-style: italic;\r
+}\r
+dd > *:first-child {\r
+  margin-top: 0;\r
+}\r
+\r
+ul, ol {\r
+    list-style-position: outside;\r
+}\r
+ol.olist2 {\r
+  list-style-type: lower-alpha;\r
+}\r
+\r
+div.tableblock > table {\r
+  border-color: #527bbd;\r
+  border-width: 3px;\r
+}\r
+thead {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+}\r
+tfoot {\r
+  font-weight: bold;\r
+}\r
+\r
+div.hlist {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+td.hlist1 {\r
+  vertical-align: top;\r
+  font-style: italic;\r
+  padding-right: 0.8em;\r
+}\r
+td.hlist2 {\r
+  vertical-align: top;\r
+}\r
+\r
+@media print {\r
+  div#footer-badges { display: none; }\r
+}\r
+/* Workarounds for IE6's broken and incomplete CSS2. */\r
+\r
+div.sidebar-content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+div.sidebar-title, div.image-title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  margin-top: 0.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+div.listingblock div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock-content {\r
+  padding-left: 2.0em;\r
+}\r
+\r
+div.exampleblock-content {\r
+  border-left: 2px solid silver;\r
+  padding-left: 0.5em;\r
+}\r
+</style>\r
+<title>The tig Manual</title>\r
+</head>\r
+<body>\r
+<div id="header">\r
+<h1>The tig Manual</h1>\r
+<span id="author">Jonas Fonseca</span><br />\r
+<span id="email"><tt>&lt;<a href="mailto:fonseca@diku.dk">fonseca@diku.dk</a>&gt;</tt></span><br />\r
+</div>\r
+<div id="preamble">\r
+<div class="sectionbody">\r
+<p>This is the manual for tig, the ncurses-based text-mode interface for git.\r
+Tig allows you to browse changes in a git repository and can additionally act\r
+as a pager for output of various git commands. When used as a pager, it will\r
+display input from stdin and colorize it.</p>\r
+<p>When browsing repositories, tig uses the underlying git commands to present\r
+the user with various views, such as summarized commit log and showing the\r
+commit with the log message, diffstat, and the diff.</p>\r
+<p><strong>Table of Contents</strong></p>\r
+<ol>\r
+<li>\r
+<p>\r
+<a href="#calling-conventions">Calling Conventions</a>\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="#pager-mode">Pager Mode</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#cmd-options">Git Command Options</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#env-variables">Environment Variables</a>\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="#repo-refs">Repository References</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#history-commands">History Commands</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#viewer">The Viewer</a>\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="#commit-id">Current Head and Commit ID</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#views">Views</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#title-window">Title Windows</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#keys">Default Keybindings</a>\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="#view-switching">View Switching</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#view-manipulation">View Manipulation</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#cursor-nav">Cursor Navigation</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#view-scrolling">Scrolling</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#searching">Searching</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#refspec">Revision Specification</a>\r
+</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="#path-limiting">Limit by Path Name</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#date-number-limiting">Limit by Date or Number</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#commit-range-limiting">Limiting by Commit Ranges</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#reachability-limiting">Limiting by Reachability</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#refspec-combi">Combining Revisions Specification</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#refspec-all">Examining All Repository References</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#copy-right">Copyright</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="#references">References and Related Tools</a>\r
+</p>\r
+</li>\r
+</ol>\r
+</div>\r
+</div>\r
+<h2><a id="calling-conventions"></a>1. Calling Conventions</h2>\r
+<div class="sectionbody">\r
+<h3><a id="pager-mode"></a>1.1. Pager Mode</h3>\r
+<p>If stdin is a pipe, any log or diff options will be ignored and the pager view\r
+will be opened loading data from stdin. The pager mode can be used for\r
+colorizing output from various git commands.</p>\r
+<p>Example on how to colorize the output of git-show(1):</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ git show | tig</tt></pre>\r
+</div></div>\r
+<h3><a id="cmd-options"></a>1.2. Git Command Options</h3>\r
+<p>All git command options specified on the command line will be passed to the\r
+given command and all will be shell quoted before they are passed to the\r
+shell.</p>\r
+<div class="admonitionblock">\r
+<table><tr>\r
+<td class="icon">\r
+<div class="title">Note</div>\r
+</td>\r
+<td class="content">If you specify options for the main view, you should not use the\r
+<tt>&#8212;pretty</tt> option as this option will be set automatically to the format\r
+expected by the main view.</td>\r
+</tr></table>\r
+</div>\r
+<p>Example on how to open the log view and show both author and committer\r
+information:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log --pretty=fuller</tt></pre>\r
+</div></div>\r
+<p>See the <a href="#refspec">"Specifying revisions"</a> section below for an introduction\r
+to revision options supported by the git commands. For details on specific git\r
+command options, refer to the man page of the command in question.</p>\r
+</div>\r
+<h2><a id="env-variables"></a>2. Environment Variables</h2>\r
+<div class="sectionbody">\r
+<p>Several options related to the interface with git can be configured via\r
+environment options.</p>\r
+<h3><a id="repo-refs"></a>2.1. Repository References</h3>\r
+<p>Commits that are referenced by tags and branch heads will be marked by the\r
+reference name surrounded by <em>[</em> and <em>]</em>:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>2006-03-26 19:42 Petr Baudis         | [cogito-0.17.1] Cogito 0.17.1</tt></pre>\r
+</div></div>\r
+<p>If you want to filter out certain directories under <tt>.git/refs/</tt>, say <tt>tmp</tt>\r
+you can do it by setting the following variable:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ TIG_LS_REMOTE="git ls-remote . | sed /\/tmp\//d" tig</tt></pre>\r
+</div></div>\r
+<p>Or set the variable permanently in your environment.</p>\r
+<dl>\r
+<dt>\r
+TIG_LS_REMOTE\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set command for retrieving all repository references. The command\r
+        should output data in the same format as git-ls-remote(1).\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3><a id="history-commands"></a>2.2. History Commands</h3>\r
+<p>It is possible to alter which commands are used for the different views.  If\r
+for example you prefer commits in the main view to be sorted by date and only\r
+show 500 commits, use:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ TIG_MAIN_CMD="git log --date-order -n500 --pretty=raw %s" tig</tt></pre>\r
+</div></div>\r
+<p>Or set the variable permanently in your environment.</p>\r
+<p>Notice, how <tt>%s</tt> is used to specify the commit reference. There can be a\r
+maximum of 5 <tt>%s</tt> ref specifications.</p>\r
+<dl>\r
+<dt>\r
+TIG_DIFF_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the diff view. By default, git show is used\r
+        as a backend.\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_LOG_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the log view. If you prefer to have both\r
+        author and committer shown in the log view be sure to pass\r
+        <tt>&#8212;pretty=fuller</tt> to git log.\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_MAIN_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the main view. Note, you must always specify\r
+        the option: <tt>&#8212;pretty=raw</tt> since the main view parser expects to\r
+        read that format.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2><a id="viewer"></a>3. The Viewer</h2>\r
+<div class="sectionbody">\r
+<p>The display consists of a status window on the last line of the screen and one\r
+or more views. The default is to only show one view at the time but it is\r
+possible to split both the main and log view to also show the commit diff.</p>\r
+<p>If you are in the log view and press <em>Enter</em> when the current line is a commit\r
+line, such as:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>commit 4d55caff4cc89335192f3e566004b4ceef572521</tt></pre>\r
+</div></div>\r
+<p>You will split the view so that the log view is displayed in the top window\r
+and the diff view in the bottom window. You can switch between the two views\r
+by pressing <em>Tab</em>. To maximize the log view again, simply press <em>l</em>.</p>\r
+<h3><a id="commit-id"></a>3.1. Current Head and Commit ID</h3>\r
+<p>The viewer keeps track of both what head and commit ID you are currently\r
+viewing. The commit ID will follow the cursor line and change every time\r
+you highlight a different commit. Whenever you reopen the diff view it will be\r
+reloaded, if the commit ID changed.</p>\r
+<p>The head ID is used when opening the main and log view to indicate from what\r
+revision to show history.</p>\r
+<h3><a id="views"></a>3.2. Views</h3>\r
+<p>Various <em>views</em> of a repository is presented. Each view is based on output\r
+from an external command, most often <em>git log</em>, <em>git diff</em>, or <em>git show</em>.</p>\r
+<dl>\r
+<dt>\r
+The main view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Is the default view, and it shows a one line summary of each commit\r
+        in the chosen list of revisions. The summary includes commit date,\r
+        author, and the first line of the log message. Additionally, any\r
+        repository references, such as tags, will be shown.\r
+</p>\r
+</dd>\r
+<dt>\r
+The log view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Presents a more rich view of the revision log showing the whole log\r
+        message and the diffstat.\r
+</p>\r
+</dd>\r
+<dt>\r
+The diff view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Shows either the diff of the current working tree, that is, what\r
+        has changed since the last commit, or the commit diff complete\r
+        with log message, diffstat and diff.\r
+</p>\r
+</dd>\r
+<dt>\r
+The tree view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Lists directory trees associated with the current revision allowing\r
+        subdirectories to be descended or ascended and file blobs to be\r
+        viewed.\r
+</p>\r
+</dd>\r
+<dt>\r
+The blob view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Displays the file content or "blob" of data associated with a file\r
+        name.\r
+</p>\r
+</dd>\r
+<dt>\r
+The pager view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Is used for displaying both input from stdin and output from git\r
+        commands entered in the internal prompt.\r
+</p>\r
+</dd>\r
+<dt>\r
+The help view\r
+</dt>\r
+<dd>\r
+<p>\r
+        Displays key binding quick reference.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3><a id="title-window"></a>3.3. Title Windows</h3>\r
+<p>Each view has a title window which shows the name of the view, current commit\r
+ID if available, and where the view is positioned:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>[main] c622eefaa485995320bc743431bae0d497b1d875 - commit 1 of 61 (1%)</tt></pre>\r
+</div></div>\r
+<p>By default, the title of the current view is highlighted using bold font.  For\r
+long loading views (taking over 3 seconds) the time since loading started will\r
+be appended:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>[main] 77d9e40fbcea3238015aea403e06f61542df9a31 - commit 1 of 779 (0%) 5s</tt></pre>\r
+</div></div>\r
+</div>\r
+<h2><a id="keys"></a>4. Default Keybindings</h2>\r
+<div class="sectionbody">\r
+<p>Below the default key bindings are shown.</p>\r
+<h3><a id="view-switching"></a>4.1. View Switching</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    m\r
+    </td>\r
+    <td align="left">\r
+    Switch to main view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    d\r
+    </td>\r
+    <td align="left">\r
+    Switch to diff view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    l\r
+    </td>\r
+    <td align="left">\r
+    Switch to log view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    p\r
+    </td>\r
+    <td align="left">\r
+    Switch to pager view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    t\r
+    </td>\r
+    <td align="left">\r
+    Switch to (directory) tree view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    f\r
+    </td>\r
+    <td align="left">\r
+    Switch to (file) blob view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    h\r
+    </td>\r
+    <td align="left">\r
+    Show man page.\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<h3><a id="view-manipulation"></a>4.2. View Manipulation</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    q\r
+    </td>\r
+    <td align="left">\r
+    Close view, if multiple views are open it will jump back to the         previous view in the view stack. If it is the last open view it         will quit. Use <em>Q</em> to quit all views at once.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Enter\r
+    </td>\r
+    <td align="left">\r
+    This key is "context sensitive" depending on what view you are         currently in. When in log view on a commit line or in the main         view, split the view and show the commit diff. In the diff view         pressing Enter will simply scroll the view one line down.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Tab\r
+    </td>\r
+    <td align="left">\r
+    Switch to next view.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Up\r
+    </td>\r
+    <td align="left">\r
+    This key is "context sensitive" and will move the cursor one         line up. However, if you opened a diff view from the main view         (split- or full-screen) it will change the cursor to point to         the previous commit in the main view and update the diff view         to display it.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Down\r
+    </td>\r
+    <td align="left">\r
+    Similar to <em>Up</em> but will move down.\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<h3><a id="cursor-nav"></a>4.3. Cursor Navigation</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    j\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one line up.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    k\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one line down.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    PgUp,-,a\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one page up.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    PgDown\r
+    </td>\r
+    <td align="left">\r
+    Space   Move cursor one page down.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Home\r
+    </td>\r
+    <td align="left">\r
+    Jump to first line.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    End\r
+    </td>\r
+    <td align="left">\r
+    Jump to last line.\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<h3><a id="view-scrolling"></a>4.4. Scrolling</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    Insert\r
+    </td>\r
+    <td align="left">\r
+    Scroll view one line up.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    Delete\r
+    </td>\r
+    <td align="left">\r
+    Scroll view one line down.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    w\r
+    </td>\r
+    <td align="left">\r
+    Scroll view one page up.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    s\r
+    </td>\r
+    <td align="left">\r
+    Scroll view one page down.\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<h3><a id="searching"></a>4.5. Searching</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    /\r
+    </td>\r
+    <td align="left">\r
+    Search the view. Opens a prompt for entering search regex to use.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    ?\r
+    </td>\r
+    <td align="left">\r
+    Search backwards in the view. Also prompts for regex.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    n\r
+    </td>\r
+    <td align="left">\r
+    Find next match for the current search regex.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    N\r
+    </td>\r
+    <td align="left">\r
+    Find previous match for the current search regex.\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<h3><a id="misc-keys"></a>4.6. Misc</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="hsides"\r
+cellspacing="0" cellpadding="4">\r
+<col width="91" />\r
+<col width="788" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Key\r
+    </th>\r
+    <th align="left">\r
+    Action\r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    Q\r
+    </td>\r
+    <td align="left">\r
+    Quit.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    r\r
+    </td>\r
+    <td align="left">\r
+    Redraw screen.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    z\r
+    </td>\r
+    <td align="left">\r
+    Stop all background loading. This can be useful if you use         tig in a repository with a long history without limiting         the revision log.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    v\r
+    </td>\r
+    <td align="left">\r
+    Show version.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    <em>.</em>\r
+    </td>\r
+    <td align="left">\r
+    Toggle line numbers on/off.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    g\r
+    </td>\r
+    <td align="left">\r
+    Toggle revision graph visualization on/off.\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    <em>:</em>\r
+    </td>\r
+    <td align="left">\r
+    Open prompt. This allows you to specify what git command         to run. Example <tt>:log -p</tt>\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+</div>\r
+<h2><a id="refspec"></a>5. Revision Specification</h2>\r
+<div class="sectionbody">\r
+<p>This section describes various ways to specify what revisions to display or\r
+otherwise limit the view to. Tig does not itself parse the described\r
+revision options so refer to the relevant git man pages for further\r
+information. Relevant man pages besides git-log(1) are git-diff(1) and\r
+git-rev-list(1).</p>\r
+<p>You can tune the interaction with git by making use of the options explained\r
+in this section. For example, by configuring the environment variables\r
+described in the  <a href="#history-commands">"History commands"</a> section.</p>\r
+<h3><a id="path-limiting"></a>5.1. Limit by Path Name</h3>\r
+<p>If you are interested only in those revisions that made changes to a specific\r
+file (or even several files) list the files like this:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log Makefile README</tt></pre>\r
+</div></div>\r
+<p>To avoid ambiguity with repository references such as tag name, be sure to\r
+separate file names from other git options using "--". So if you have a file\r
+named <em>master</em> it will clash with the reference named <em>master</em>, and thus you\r
+will have to use:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log -- master</tt></pre>\r
+</div></div>\r
+<div class="admonitionblock">\r
+<table><tr>\r
+<td class="icon">\r
+<div class="title">Note</div>\r
+</td>\r
+<td class="content">For the main view, avoiding ambiguity will in some cases require you to\r
+specify two "--" options. The first will make tig stop option processing\r
+and the latter will be passed to git log.</td>\r
+</tr></table>\r
+</div>\r
+<h3><a id="date-number-limiting"></a>5.2. Limit by Date or Number</h3>\r
+<p>To speed up interaction with git, you can limit the amount of commits to show\r
+both for the log and main view. Either limit by date using e.g.\r
+<tt>&#8212;since=1.month</tt> or limit by the number of commits using <tt>-n400</tt>.</p>\r
+<p>If you are only interested in changed that happened between two dates you can\r
+use:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --after="May 5th" --before="2006-05-16 15:44"</tt></pre>\r
+</div></div>\r
+<div class="admonitionblock">\r
+<table><tr>\r
+<td class="icon">\r
+<div class="title">Note</div>\r
+</td>\r
+<td class="content">If you want to avoid having to quote dates containing spaces you can use\r
+"." instead, e.g. <tt>&#8212;after=May.5th</tt>.</td>\r
+</tr></table>\r
+</div>\r
+<h3><a id="commit-range-limiting"></a>5.3. Limiting by Commit Ranges</h3>\r
+<p>Alternatively, commits can be limited to a specific range, such as "all\r
+commits between <em>tag-1.0</em> and <em>tag-2.0</em>". For example:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log tag-1.0..tag-2.0</tt></pre>\r
+</div></div>\r
+<p>This way of commit limiting makes it trivial to only browse the commits which\r
+haven't been pushed to a remote branch. Assuming <em>origin</em> is your upstream\r
+remote branch, using:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log origin..HEAD</tt></pre>\r
+</div></div>\r
+<p>will list what will be pushed to the remote branch. Optionally, the ending\r
+<em>HEAD</em> can be left out since it is implied.</p>\r
+<h3><a id="reachability-limiting"></a>5.4. Limiting by Reachability</h3>\r
+<p>Git interprets the range specifier "tag-1.0..tag-2.0" as "all commits\r
+reachable from <em>tag-2.0</em> but not from <em>tag-1.0</em>".  Where reachability refers\r
+to what commits are ancestors (or part of the history) of the branch or tagged\r
+revision in question.</p>\r
+<p>If you prefer to specify which commit to preview in this way use the\r
+following:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig log tag-2.0 ^tag-1.0</tt></pre>\r
+</div></div>\r
+<p>You can think of <em>^</em> as a negation operator. Using this alternate syntax, it\r
+is possible to further prune commits by specifying multiple branch cut offs.</p>\r
+<h3><a id="refspec-combi"></a>5.5. Combining Revisions Specification</h3>\r
+<p>Revisions options can to some degree be combined, which makes it possible to\r
+say "show at most 20 commits from within the last month that changed files\r
+under the Documentation/ directory."</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --since=1.month -n20 -- Documentation/</tt></pre>\r
+</div></div>\r
+<h3><a id="refspec-all"></a>5.6. Examining All Repository References</h3>\r
+<p>In some cases, it can be useful to query changes across all references in a\r
+repository. An example is to ask "did any line of development in this\r
+repository change a particular file within the last week". This can be\r
+accomplished using:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --all --since=1.week -- Makefile</tt></pre>\r
+</div></div>\r
+</div>\r
+<h2>6. BUGS</h2>\r
+<div class="sectionbody">\r
+<p>Known bugs and problems:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+Proper locale support: in it's current state tig is pretty much UTF-8 only.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Horizontal scrolling.\r
+</p>\r
+</li>\r
+</ul>\r
+</div>\r
+<h2><a id="copy-right"></a>7. Copyright</h2>\r
+<div class="sectionbody">\r
+<p>Copyright (c) 2006 Jonas Fonseca &lt;fonseca@diku.dk&gt;</p>\r
+<p>This program is free software; you can redistribute it and/or modify\r
+it under the terms of the GNU General Public License as published by\r
+the Free Software Foundation; either version 2 of the License, or\r
+(at your option) any later version.</p>\r
+</div>\r
+<h2><a id="references"></a>8. References and Related Tools</h2>\r
+<div class="sectionbody">\r
+<p>Manpages:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="tig.1.html">tig(1)</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="tigrc.5.html">tigrc(5)</a>\r
+</p>\r
+</li>\r
+</ul>\r
+<p>Online resources:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+Homepage: <a href="http://jonas.nitro.dk/tig">http://jonas.nitro.dk/tig</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Manual: <a href="http://jonas.nitro.dk/tig/manual.html">http://jonas.nitro.dk/tig/manual.html</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Git URL:  <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Gitweb: <a href="http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary">http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary</a>\r
+</p>\r
+</li>\r
+</ul>\r
+<p>Git porcelains:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+<a href="http://www.kernel.org/pub/software/scm/git/docs/">git</a>,\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+<a href="http://www.kernel.org/pub/software/scm/cogito/docs/">Cogito</a>\r
+</p>\r
+</li>\r
+</ul>\r
+<p>Other git repository browsers:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+gitk(1)\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+qgit(1)\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+gitview(1)\r
+</p>\r
+</li>\r
+</ul>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 18-Sep-2006 18:23:56 CEST\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r
diff --git a/tig.1 b/tig.1
new file mode 100644 (file)
index 0000000..e8f7262
--- /dev/null
+++ b/tig.1
@@ -0,0 +1,182 @@
+.\"Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "TIG" 1 "" "" ""
+.SH NAME
+tig \- text-mode interface for git
+.SH "SYNOPSIS"
+
+.nf
+tig [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
+
+.SH "DESCRIPTION"
+
+
+Browse changes in a git repository\&. Additionally, tig(1) can also act as a pager for output of various git commands\&.
+
+
+When browsing repositories, tig(1) uses the underlying git commands to present the user with various views, such as summarized commit log and showing the commit with the log message, diffstat, and the diff\&.
+
+
+Using tig(1) as a pager, it will display input from stdin and try to colorize it\&.
+
+.SH "OPTIONS"
+
+.TP
+\-l
+Start up in log view using the internal log command\&.
+
+.TP
+\-d
+Start up in diff view using the internal diff command\&.
+
+.TP
+\-n[INTERVAL], \-\-line\-number[=INTERVAL]
+Prefix line numbers in log and diff view\&. Optionally, with interval different than each line\&.
+
+.TP
+\-b[NSPACES], \-\-tab\-size[=NSPACES]
+Set the number of spaces tabs should be expanded to\&.
+
+.TP
+\-v, \-\-version
+Show version and exit\&.
+
+.TP
+\-h, \-\-help
+Show help message and exit\&.
+
+.TP
+\-\-
+End of tig(1) options\&. Useful when specifying command options for the main view\&. Example:
+
+.nf
+$ tig \-\- \-\-since=1\&.month
+.fi
+
+.TP
+log
+Open log view using the given git log options\&.
+
+.TP
+diff
+Open diff view using the given git diff options\&.
+
+.TP
+show
+Open diff view using the given git show options\&.
+
+.TP
+[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 tag\-1\&.0\&.\&.HEAD
+.fi
+
+.SH "ENVIRONMENT VARIABLES"
+
+.TP
+TIG_LS_REMOTE
+Set command for retrieving all repository references\&. The command should output data in the same format as git\-ls\-remote(1)\&.
+
+.TP
+TIG_DIFF_CMD
+The command used for the diff view\&. By default, git show is used as a backend\&.
+
+.TP
+TIG_LOG_CMD
+The command used for the log view\&. If you prefer to have both author and committer shown in the log view be sure to pass \-\-pretty=fuller to git log\&.
+
+.TP
+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
+\fI~/\&.tigrc\fR
+User configuration file\&. See \fBtigrc\fR(5) for examples\&.
+
+.TP
+\fI\&.git/config\fR
+Repository config file\&. Read on start\-up with the help of git\-repo\-config(1)\&.
+
+.SH "BUGS"
+
+
+Known bugs and problems:
+
+.TP 3
+\(bu
+Proper locale support: in it's current state tig is pretty much UTF\-8 only\&.
+.TP
+\(bu
+Horizontal scrolling\&.
+.LP
+
+.SH "COPYRIGHT"
+
+
+Copyright (c) 2006 Jonas Fonseca <fonseca@diku\&.dk>
+
+
+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 the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&.
+
+.SH "SEE ALSO"
+
+
+\fBtigrc\fR(5), git(7), cogito(7), as well as other git repository browsers: gitk(1), qgit(1), gitview(1)\&.
+
+
+Online resources:
+
+.TP 3
+\(bu
+Homepage: http://jonas\&.nitro\&.dk/tig: \fIhttp://jonas.nitro.dk/tig\fR 
+.TP
+\(bu
+Manual: http://jonas\&.nitro\&.dk/tig/manual\&.html: \fIhttp://jonas.nitro.dk/tig/manual.html\fR 
+.TP
+\(bu
+Releases: http://jonas\&.nitro\&.dk/tig/releases: \fIhttp://jonas.nitro.dk/tig/releases\fR 
+.TP
+\(bu
+Git URL: http://jonas\&.nitro\&.dk/tig/tig\&.git: \fIhttp://jonas.nitro.dk/tig/tig.git\fR 
+.TP
+\(bu
+Gitweb: http://pasky\&.or\&.cz/gitweb\&.cgi?p=tig\&.git;a=summary: \fIhttp://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary\fR 
+.LP
+
diff --git a/tig.1.html b/tig.1.html
new file mode 100644 (file)
index 0000000..06ded8c
--- /dev/null
@@ -0,0 +1,550 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
+<style type="text/css">\r
+/* Debug borders */\r
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
+/*\r
+  border: 1px solid red;\r
+*/\r
+}\r
+\r
+body {\r
+  margin: 1em 5% 1em 5%;\r
+}\r
+\r
+a { color: blue; }\r
+a:visited { color: fuchsia; }\r
+\r
+em {\r
+  font-style: italic;\r
+}\r
+\r
+strong {\r
+  font-weight: bold;\r
+}\r
+\r
+tt {\r
+  color: navy;\r
+}\r
+\r
+h1, h2, h3, h4, h5, h6 {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  margin-top: 1.2em;\r
+  margin-bottom: 0.5em;\r
+  line-height: 1.3;\r
+}\r
+\r
+h1 {\r
+  border-bottom: 2px solid silver;\r
+}\r
+h2 {\r
+  border-bottom: 2px solid silver;\r
+  padding-top: 0.5em;\r
+}\r
+\r
+div.sectionbody {\r
+  font-family: serif;\r
+  margin-left: 0;\r
+}\r
+\r
+hr {\r
+  border: 1px solid silver;\r
+}\r
+\r
+p {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+pre {\r
+  padding: 0;\r
+  margin: 0;\r
+}\r
+\r
+span#author {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  font-size: 1.2em;\r
+}\r
+span#email {\r
+}\r
+span#revision {\r
+  font-family: sans-serif;\r
+}\r
+\r
+div#footer {\r
+  font-family: sans-serif;\r
+  font-size: small;\r
+  border-top: 2px solid silver;\r
+  padding-top: 0.5em;\r
+  margin-top: 4.0em;\r
+}\r
+div#footer-text {\r
+  float: left;\r
+  padding-bottom: 0.5em;\r
+}\r
+div#footer-badges {\r
+  float: right;\r
+  padding-bottom: 0.5em;\r
+}\r
+\r
+div#preamble,\r
+div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
+div.admonitionblock {\r
+  margin-right: 10%;\r
+  margin-top: 1.5em;\r
+  margin-bottom: 1.5em;\r
+}\r
+div.admonitionblock {\r
+  margin-top: 2.5em;\r
+  margin-bottom: 2.5em;\r
+}\r
+\r
+div.content { /* Block element content. */\r
+  padding: 0;\r
+}\r
+\r
+/* Block element titles. */\r
+div.title, caption.title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  text-align: left;\r
+  margin-top: 1.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+div.title + * {\r
+  margin-top: 0;\r
+}\r
+\r
+td div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content + div.title {\r
+  margin-top: 0.0em;\r
+}\r
+\r
+div.sidebarblock > div.content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.listingblock > div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock > div.content {\r
+  padding-left: 2.0em;\r
+}\r
+div.quoteblock .attribution {\r
+  text-align: right;\r
+}\r
+\r
+div.admonitionblock .icon {\r
+  vertical-align: top;\r
+  font-size: 1.1em;\r
+  font-weight: bold;\r
+  text-decoration: underline;\r
+  color: #527bbd;\r
+  padding-right: 0.5em;\r
+}\r
+div.admonitionblock td.content {\r
+  padding-left: 0.5em;\r
+  border-left: 2px solid silver;\r
+}\r
+\r
+div.exampleblock > div.content {\r
+  border-left: 2px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.verseblock div.content {\r
+  white-space: pre;\r
+}\r
+\r
+div.imageblock div.content { padding-left: 0; }\r
+div.imageblock img { border: 1px solid silver; }\r
+span.image img { border-style: none; }\r
+\r
+dl {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+dt {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0;\r
+  font-style: italic;\r
+}\r
+dd > *:first-child {\r
+  margin-top: 0;\r
+}\r
+\r
+ul, ol {\r
+    list-style-position: outside;\r
+}\r
+ol.olist2 {\r
+  list-style-type: lower-alpha;\r
+}\r
+\r
+div.tableblock > table {\r
+  border-color: #527bbd;\r
+  border-width: 3px;\r
+}\r
+thead {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+}\r
+tfoot {\r
+  font-weight: bold;\r
+}\r
+\r
+div.hlist {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+td.hlist1 {\r
+  vertical-align: top;\r
+  font-style: italic;\r
+  padding-right: 0.8em;\r
+}\r
+td.hlist2 {\r
+  vertical-align: top;\r
+}\r
+\r
+@media print {\r
+  div#footer-badges { display: none; }\r
+}\r
+include::./stylesheets/xhtml11-manpage.css[]\r
+/* Workarounds for IE6's broken and incomplete CSS2. */\r
+\r
+div.sidebar-content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+div.sidebar-title, div.image-title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  margin-top: 0.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+div.listingblock div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock-content {\r
+  padding-left: 2.0em;\r
+}\r
+\r
+div.exampleblock-content {\r
+  border-left: 2px solid silver;\r
+  padding-left: 0.5em;\r
+}\r
+</style>\r
+<title>TIG(1)</title>\r
+</head>\r
+<body>\r
+<div id="header">\r
+<h1>\r
+TIG(1) Manual Page\r
+</h1>\r
+<h2>NAME</h2>\r
+<div class="sectionbody">\r
+<p>tig -\r
+   text-mode interface for git\r
+</p>\r
+</div>\r
+</div>\r
+<h2>SYNOPSIS</h2>\r
+<div class="sectionbody">\r
+<div class="verseblock">\r
+<div class="content">tig [options]\r
+tig [options] [--] [git options]\r
+tig [options] log  [git options]\r
+tig [options] diff [git options]\r
+tig [options] show [git options]\r
+tig [options] &lt;    [git command output]</div></div>\r
+</div>\r
+<h2>DESCRIPTION</h2>\r
+<div class="sectionbody">\r
+<p>Browse changes in a git repository. Additionally, tig(1) can also act\r
+as a pager for output of various git commands.</p>\r
+<p>When browsing repositories, tig(1) uses the underlying git commands\r
+to present the user with various views, such as summarized commit log\r
+and showing the commit with the log message, diffstat, and the diff.</p>\r
+<p>Using tig(1) as a pager, it will display input from stdin and try\r
+to colorize it.</p>\r
+</div>\r
+<h2>OPTIONS</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+-l\r
+</dt>\r
+<dd>\r
+<p>\r
+        Start up in log view using the internal log command.\r
+</p>\r
+</dd>\r
+<dt>\r
+-d\r
+</dt>\r
+<dd>\r
+<p>\r
+        Start up in diff view using the internal diff command.\r
+</p>\r
+</dd>\r
+<dt>\r
+-n[INTERVAL], --line-number[=INTERVAL]\r
+</dt>\r
+<dd>\r
+<p>\r
+        Prefix line numbers in log and diff view.\r
+        Optionally, with interval different than each line.\r
+</p>\r
+</dd>\r
+<dt>\r
+-b[NSPACES], --tab-size[=NSPACES]\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set the number of spaces tabs should be expanded to.\r
+</p>\r
+</dd>\r
+<dt>\r
+-v, --version\r
+</dt>\r
+<dd>\r
+<p>\r
+        Show version and exit.\r
+</p>\r
+</dd>\r
+<dt>\r
+-h, --help\r
+</dt>\r
+<dd>\r
+<p>\r
+        Show help message and exit.\r
+</p>\r
+</dd>\r
+<dt>\r
+--\r
+</dt>\r
+<dd>\r
+<p>\r
+        End of tig(1) options. Useful when specifying command\r
+        options for the main view. Example:\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --since=1.month</tt></pre>\r
+</div></div>\r
+</dd>\r
+<dt>\r
+log\r
+</dt>\r
+<dd>\r
+<p>\r
+        Open log view using the given git log options.\r
+</p>\r
+</dd>\r
+<dt>\r
+diff\r
+</dt>\r
+<dd>\r
+<p>\r
+        Open diff view using the given git diff options.\r
+</p>\r
+</dd>\r
+<dt>\r
+show\r
+</dt>\r
+<dd>\r
+<p>\r
+        Open diff view using the given git show options.\r
+</p>\r
+</dd>\r
+<dt>\r
+[git options]\r
+</dt>\r
+<dd>\r
+<p>\r
+        tig(1) will stop the option parsing when the first\r
+        command line parameter not starting with "-" is\r
+        encountered. All options including this one will be\r
+        passed to git log when loading the main view.\r
+        This makes it possible to say:\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>$ tig tag-1.0..HEAD</tt></pre>\r
+</div></div>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>ENVIRONMENT VARIABLES</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+TIG_LS_REMOTE\r
+</dt>\r
+<dd>\r
+<p>\r
+        Set command for retrieving all repository references. The command\r
+        should output data in the same format as git-ls-remote(1).\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_DIFF_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the diff view. By default, git show is used\r
+        as a backend.\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_LOG_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the log view. If you prefer to have both\r
+        author and committer shown in the log view be sure to pass\r
+        <tt>--pretty=fuller</tt> to git log.\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_MAIN_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+        The command used for the main view. Note, you must always specify\r
+        the option: <tt>--pretty=raw</tt> since the main view parser expects to\r
+        read that format.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Tree commands</h3>\r
+<dl>\r
+<dt>\r
+TIG_TREE_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+    The command used for the tree view. By default, git-ls-tree(1) is\r
+    used. The commands should expect first the commit ID and second\r
+    a path.\r
+</p>\r
+</dd>\r
+<dt>\r
+TIG_BLOB_CMD\r
+</dt>\r
+<dd>\r
+<p>\r
+    The command used for the blob view. By default, git-cat-file(1) is\r
+    used. The command gets the blob ID.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>FILES</h2>\r
+<div class="sectionbody">\r
+<dl>\r
+<dt>\r
+<em>~/.tigrc</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+        User configuration file. See <a href="tigrc.5.html">tigrc(5)</a> for examples.\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>.git/config</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+        Repository config file. Read on start-up with the help of\r
+        git-repo-config(1).\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>BUGS</h2>\r
+<div class="sectionbody">\r
+<p>Known bugs and problems:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+Proper locale support: in it's current state tig is pretty much UTF-8 only.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Horizontal scrolling.\r
+</p>\r
+</li>\r
+</ul>\r
+</div>\r
+<h2>COPYRIGHT</h2>\r
+<div class="sectionbody">\r
+<p>Copyright (c) 2006 Jonas Fonseca &lt;fonseca@diku.dk&gt;</p>\r
+<p>This program is free software; you can redistribute it and/or modify\r
+it under the terms of the GNU General Public License as published by\r
+the Free Software Foundation; either version 2 of the License, or\r
+(at your option) any later version.</p>\r
+</div>\r
+<h2>SEE ALSO</h2>\r
+<div class="sectionbody">\r
+<p><a href="tigrc.5.html">tigrc(5)</a>, git(7), cogito(7), as well as other git repository browsers:\r
+gitk(1), qgit(1), gitview(1).</p>\r
+<p>Online resources:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+Homepage: <a href="http://jonas.nitro.dk/tig">http://jonas.nitro.dk/tig</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Manual: <a href="http://jonas.nitro.dk/tig/manual.html">http://jonas.nitro.dk/tig/manual.html</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Git URL:  <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+Gitweb: <a href="http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary">http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary</a>\r
+</p>\r
+</li>\r
+</ul>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 18-Sep-2006 18:23:50 CEST\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r
diff --git a/tigrc.5 b/tigrc.5
new file mode 100644 (file)
index 0000000..7e7d7e9
--- /dev/null
+++ b/tigrc.5
@@ -0,0 +1,305 @@
+.\"Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "TIGRC" 5 "" "" ""
+.SH NAME
+tigrc \- tig user configuration file
+.SH "SYNOPSIS"
+
+.nf
+\fIset\fR   variable \fI=\fR value
+\fIbind\fR  keymap key action
+\fIcolor\fR area fgcolor bgcolor [attributes]
+.fi
+
+.SH "DESCRIPTION"
+
+
+You can permanently set an option by putting it in the ~/\&.tigrc file\&. The file consists of a series of \fIcommands\fR\&. Each line of the file may contain only one command\&.
+
+
+The hash mark (\fI#\fR) is used as a \fIcomment\fR character\&. All text after the comment character to the end of the line is ignored\&. You can use comments to annotate your initialization file\&.
+
+.SH "SET COMMAND"
+
+
+A few selective variables can be configured via the set command\&. The syntax is:
+
+.nf
+        \fIset\fR variables \fI=\fR value
+.fi
+
+
+Examples:
+
+.nf
+        set show\-rev\-graph = yes        # Show revision graph?
+        set line\-number\-interval = 5    # Interval between line numbers
+        set tab\-size = 8                # Number of spaces pr tab
+        set encoding = "UTF\-8"          # Commit encoding
+.fi
+
+
+The type of variables are either bool, int, and string\&.
+
+.TP
+Valid bool values
+To set a bool variable to true use either "1", "true", or "yes"\&. Any other value will set the variable to false\&.
+
+.TP
+Valid int values
+A non\-negative integer\&.
+
+.TP
+Valid string values
+A string of characters\&. Optionally, use either ' or " as delimiters\&.
+
+.SS "Variables"
+
+
+The following variables can be set:
+
+.TP
+\fIshow\-rev\-graph\fR (bool)
+Show revision graph in the main view on start\-up\&. Can be toggled with \fIg\fR\&.
+
+.TP
+\fIline\-number\-interval\fR (int)
+Interval between line numbers\&. Note, you have to toggle on line numbering with \fIn\fR or the \-n command line option\&. The default is to number every line\&.
+
+.TP
+\fItab\-size\fR (int)
+Number of spaces per tab\&. The default is 8 spaces\&.
+
+.TP
+\fIcommit\-encoding\fR (string)
+The encoding used for commits\&. The default is UTF\-8\&. Not this option is shadowed by the "i18n\&.commitencoding" option in \&.git/config\&.
+
+.SH "BIND COMMAND"
+
+
+Using bind commands keys can be mapped to an action when pressed in a given key map\&. The syntax is:
+
+.nf
+        \fIbind\fR \fIkeymap\fR \fIkey\fR \fIaction\fR
+.fi
+
+
+Examples:
+
+.nf
+        # A few keybindings
+        bind main w scroll\-line\-up
+        bind main s scroll\-line\-down
+        bind main space enter
+        bind diff a previous
+        bind diff d next
+        bind diff b move\-first\-line
+        # 'unbind' the default quit key binding
+        bind main Q none
+.fi
+
+
+Keys are mapped by first searching the keybindings for the current view, then the keybindings for the \fIgeneric\fR keymap, and last the default keybindings\&. Thus, the view keybindings shadow the generic keybindings which Shadow the built\-in keybindings\&.
+
+.TP
+Keymaps
+Valid keymaps are: \fImain\fR, \fIdiff\fR, \fIlog\fR, \fIhelp\fR, \fIpager\fR, and \fIgeneric\fR\&. Use \fIgeneric\fR to set key mapping in all keymaps\&.
+
+.TP
+Key values
+Key values should never be quoted\&. Use either the ASCII value or one of the following symbolic key names\&. Symbolic key names are case insensitive, Use \fIHash\fR to bind to the # key, since the hash mark is used as a comment character\&.
+
+\fIEnter\fR, \fISpace\fR, \fIBackspace\fR, \fITab\fR, \fIEscape\fR, \fILeft\fR, \fIRight\fR, \fIUp\fR, \fIDown\fR, \fIInsert\fR, \fIDelete\fR, \fIHash\fR, \fIHome\fR, \fIEnd\fR, \fIPageUp\fR, \fIPageDown\fR, \fIF1\fR, \fIF2\fR, \fIF3\fR, \fIF4\fR, \fIF5\fR, \fIF6\fR, \fIF7\fR, \fIF8\fR, \fIF9\fR, \fIF10\fR, \fIF11\fR, \fIF12\fR\&.
+
+.TP
+Action names
+Valid action names are described below\&. Note, all names are case\-insensitive, and you may use \fI\-\fR, \fI_\fR, and \fI\&.\fR interchangeably, e\&.g\&. "view\-main", "View\&.Main", and "VIEW_MAIN" are the same\&.
+
+.SS "Actions"
+
+
+View switching:
+
+.nf
+view\-main               Show main view
+view\-diff               Show diff view
+view\-log                Show log view
+view\-tree               Show tree view
+view\-blob               Show blob view
+view\-pager              Show pager view
+view\-help               Show help page
+.fi
+
+
+View manipulation:
+
+.nf
+enter                   Enter current line and scroll
+next                    Move to next
+previous                Move to previous
+view\-next               Move focus to next view
+view\-close              Close the current view
+quit                    Close all views and quit
+.fi
+
+
+Cursor navigation:
+
+.nf
+move\-up                 Move cursor one line up
+move\-down               Move cursor one line down
+move\-page\-down          Move cursor one page down
+move\-page\-up            Move cursor one page up
+move\-first\-line         Move cursor to first line
+move\-last\-line          Move cursor to last line
+.fi
+
+
+Scrolling:
+
+.nf
+scroll\-line\-up          Scroll one line up
+scroll\-line\-down        Scroll one line down
+scroll\-page\-eup         Scroll one page up
+scroll\-page\-down        Scroll one page down
+.fi
+
+
+Misc:
+
+.nf
+none                    Do nothing
+prompt                  Bring up the prompt
+screen\-redraw           Redraw the screen
+screen\-resize           Resize the screen
+show\-version            Show version information
+stop\-loading            Stop all loading views
+toggle\-lineno           Toggle line numbers
+toggle\-rev\-graph        Toggle revision graph visualization
+.fi
+
+.SH "COLOR COMMAND"
+
+
+Color commands control highlighting and the user interface styles\&. If your terminal supports color, these commands can be used to assign foreground and background combinations to certain areas\&. Optionally, an attribute can be given as the last parameter\&. The syntax is:
+
+.nf
+        \fIcolor\fR \fIarea\fR \fIfgcolor\fR \fIbgcolor\fR \fI[attributes]\fR
+.fi
+
+
+Examples:
+
+.nf
+        # Diff colors
+        color diff\-header       yellow  default
+        color diff\-index        blue    default
+        color diff\-chunk        magenta default
+        # A strange looking cursor line
+        color cursor            red     default underline
+        # UI colors
+        color title\-blur        white   blue
+        color title\-focus       white   blue    bold
+.fi
+
+.TP
+Area names
+Valid area names are described below\&. Note, all names are case\-insensitive, and you may use \fI\-\fR, \fI_\fR, and \fI\&.\fR interchangeably, e\&.g\&. "Diff\-Header", "DIFF_HEADER", and "diff\&.header" are the same\&.
+
+.TP
+Color names
+Valid colors include: \fIwhite\fR, \fIblack\fR, \fIgreen\fR, \fImagenta\fR, \fIblue\fR, \fIcyan\fR, \fIyellow\fR, \fIred\fR, \fIdefault\fR\&. Use \fIdefault\fR to refer to the default terminal colors\&.
+
+.TP
+Attribute names
+Valid attributes include: \fInormal\fR, \fIblink\fR, \fIbold\fR, \fIdim\fR, \fIreverse\fR, \fIstandout\fR, and \fIunderline\fR\&. Note, not all attributes may be supported by the terminal\&.
+
+.SS "UI colors"
+
+.TP
+Status window colors
+Appearance of the bottom window showing info messages\&.
+
+\fIstatus\fR
+
+.TP
+Title window colors
+Appearance of the title windows when they are attached to any backgrounded windows and the current window\&.
+
+\fItitle\-blur\fR, \fItitle\-focus\fR
+
+.TP
+Cursor line colors
+ \fIcursor\fR 
+
+.TP
+Main view specific
+Appearance of the various columns in the main view, including the \fI~\fR used for delimiting long author names and labels for tag and branch references\&.
+
+\fImain\-date\fR, \fImain\-author\fR, \fImain\-commit\fR, \fImain\-delim\fR, \fImain\-tag\fR, \fImain\-ref\fR
+
+.SS "Highlighting"
+
+
+The colors and attributes for text that is not highlighted can be controlled by changing the \fIdefault\fR color option\&.
+
+.TP
+Diff markup
+Options concerning diff start, chunks and lines added and deleted\&.
+
+\fIdiff\-header\fR, \fIdiff\-chunk\fR, \fIdiff\-add\fR, \fIdiff\-del\fR
+
+.TP
+Enhanced git diff markup
+Extra diff information emitted by the git diff machinery, such as mode changes, rename detection, and similarity\&.
+
+\fIdiff\-oldmode\fR, \fIdiff\-newmode\fR, \fIdiff\-copy\-from\fR, \fIdiff\-copy\-to\fR, \fIdiff\-rename\-from\fR, \fIdiff\-rename\-to\fR, \fIdiff\-similarity\fR  \fIdiff\-dissimilarity\fR  \fIdiff\-tree\fR, \fIdiff\-index\fR
+
+.TP
+Pretty print commit headers
+Commit diffs and the revision logs are usually formatted using pretty printed headers , unless \-\-pretty=raw was given\&. This includes lines, such as merge info, commit ID, and author and committer date\&.
+
+\fIpp\-author\fR, \fIpp\-commit\fR, \fIpp\-merge\fR, \fIpp\-date\fR, \fIpp\-adate\fR, \fIpp\-cdate\fR
+
+.TP
+Raw commit header
+Usually shown when \-\-pretty=raw is given, however \fIcommit\fR is pretty much omnipresent\&.
+
+\fIcommit\fR, \fIparent\fR, \fItree\fR, \fIauthor\fR, \fIcommitter\fR
+
+.TP
+Commit message
+For now only Signed\-off\-by and Acked\-by lines are colorized\&.
+
+\fIsignoff\fR, \fIacked\fR
+
+.SH "COPYRIGHT"
+
+
+Copyright (c) 2006 Jonas Fonseca <fonseca@diku\&.dk>
+
+
+Licensed under the terms of the GNU General Public License\&.
+
+.SH "SEE ALSO"
+
+
+\fBtig\fR(1) and the tig manual: \fIhttp://jonas.nitro.dk/tig/manual.html\fR\&.
+
diff --git a/tigrc.5.html b/tigrc.5.html
new file mode 100644 (file)
index 0000000..57f387a
--- /dev/null
@@ -0,0 +1,946 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"\r
+    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+<head>\r
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\r
+<meta name="generator" content="AsciiDoc 7.0.2" />\r
+<style type="text/css">\r
+/* Debug borders */\r
+p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {\r
+/*\r
+  border: 1px solid red;\r
+*/\r
+}\r
+\r
+body {\r
+  margin: 1em 5% 1em 5%;\r
+}\r
+\r
+a { color: blue; }\r
+a:visited { color: fuchsia; }\r
+\r
+em {\r
+  font-style: italic;\r
+}\r
+\r
+strong {\r
+  font-weight: bold;\r
+}\r
+\r
+tt {\r
+  color: navy;\r
+}\r
+\r
+h1, h2, h3, h4, h5, h6 {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  margin-top: 1.2em;\r
+  margin-bottom: 0.5em;\r
+  line-height: 1.3;\r
+}\r
+\r
+h1 {\r
+  border-bottom: 2px solid silver;\r
+}\r
+h2 {\r
+  border-bottom: 2px solid silver;\r
+  padding-top: 0.5em;\r
+}\r
+\r
+div.sectionbody {\r
+  font-family: serif;\r
+  margin-left: 0;\r
+}\r
+\r
+hr {\r
+  border: 1px solid silver;\r
+}\r
+\r
+p {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+pre {\r
+  padding: 0;\r
+  margin: 0;\r
+}\r
+\r
+span#author {\r
+  color: #527bbd;\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  font-size: 1.2em;\r
+}\r
+span#email {\r
+}\r
+span#revision {\r
+  font-family: sans-serif;\r
+}\r
+\r
+div#footer {\r
+  font-family: sans-serif;\r
+  font-size: small;\r
+  border-top: 2px solid silver;\r
+  padding-top: 0.5em;\r
+  margin-top: 4.0em;\r
+}\r
+div#footer-text {\r
+  float: left;\r
+  padding-bottom: 0.5em;\r
+}\r
+div#footer-badges {\r
+  float: right;\r
+  padding-bottom: 0.5em;\r
+}\r
+\r
+div#preamble,\r
+div.tableblock, div.imageblock, div.exampleblock, div.verseblock,\r
+div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,\r
+div.admonitionblock {\r
+  margin-right: 10%;\r
+  margin-top: 1.5em;\r
+  margin-bottom: 1.5em;\r
+}\r
+div.admonitionblock {\r
+  margin-top: 2.5em;\r
+  margin-bottom: 2.5em;\r
+}\r
+\r
+div.content { /* Block element content. */\r
+  padding: 0;\r
+}\r
+\r
+/* Block element titles. */\r
+div.title, caption.title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  text-align: left;\r
+  margin-top: 1.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+div.title + * {\r
+  margin-top: 0;\r
+}\r
+\r
+td div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content div.title:first-child {\r
+  margin-top: 0.0em;\r
+}\r
+div.content + div.title {\r
+  margin-top: 0.0em;\r
+}\r
+\r
+div.sidebarblock > div.content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.listingblock > div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock > div.content {\r
+  padding-left: 2.0em;\r
+}\r
+div.quoteblock .attribution {\r
+  text-align: right;\r
+}\r
+\r
+div.admonitionblock .icon {\r
+  vertical-align: top;\r
+  font-size: 1.1em;\r
+  font-weight: bold;\r
+  text-decoration: underline;\r
+  color: #527bbd;\r
+  padding-right: 0.5em;\r
+}\r
+div.admonitionblock td.content {\r
+  padding-left: 0.5em;\r
+  border-left: 2px solid silver;\r
+}\r
+\r
+div.exampleblock > div.content {\r
+  border-left: 2px solid silver;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.verseblock div.content {\r
+  white-space: pre;\r
+}\r
+\r
+div.imageblock div.content { padding-left: 0; }\r
+div.imageblock img { border: 1px solid silver; }\r
+span.image img { border-style: none; }\r
+\r
+dl {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+dt {\r
+  margin-top: 0.5em;\r
+  margin-bottom: 0;\r
+  font-style: italic;\r
+}\r
+dd > *:first-child {\r
+  margin-top: 0;\r
+}\r
+\r
+ul, ol {\r
+    list-style-position: outside;\r
+}\r
+ol.olist2 {\r
+  list-style-type: lower-alpha;\r
+}\r
+\r
+div.tableblock > table {\r
+  border-color: #527bbd;\r
+  border-width: 3px;\r
+}\r
+thead {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+}\r
+tfoot {\r
+  font-weight: bold;\r
+}\r
+\r
+div.hlist {\r
+  margin-top: 0.8em;\r
+  margin-bottom: 0.8em;\r
+}\r
+td.hlist1 {\r
+  vertical-align: top;\r
+  font-style: italic;\r
+  padding-right: 0.8em;\r
+}\r
+td.hlist2 {\r
+  vertical-align: top;\r
+}\r
+\r
+@media print {\r
+  div#footer-badges { display: none; }\r
+}\r
+include::./stylesheets/xhtml11-manpage.css[]\r
+/* Workarounds for IE6's broken and incomplete CSS2. */\r
+\r
+div.sidebar-content {\r
+  background: #ffffee;\r
+  border: 1px solid silver;\r
+  padding: 0.5em;\r
+}\r
+div.sidebar-title, div.image-title {\r
+  font-family: sans-serif;\r
+  font-weight: bold;\r
+  margin-top: 0.0em;\r
+  margin-bottom: 0.5em;\r
+}\r
+\r
+div.listingblock div.content {\r
+  border: 1px solid silver;\r
+  background: #f4f4f4;\r
+  padding: 0.5em;\r
+}\r
+\r
+div.quoteblock-content {\r
+  padding-left: 2.0em;\r
+}\r
+\r
+div.exampleblock-content {\r
+  border-left: 2px solid silver;\r
+  padding-left: 0.5em;\r
+}\r
+</style>\r
+<title>tigrc(5)</title>\r
+</head>\r
+<body>\r
+<div id="header">\r
+<h1>\r
+tigrc(5) Manual Page\r
+</h1>\r
+<h2>NAME</h2>\r
+<div class="sectionbody">\r
+<p>tigrc -\r
+   tig user configuration file\r
+</p>\r
+</div>\r
+</div>\r
+<h2>SYNOPSIS</h2>\r
+<div class="sectionbody">\r
+<div class="verseblock">\r
+<div class="content"><strong>set</strong>   variable <strong>=</strong> value\r
+<strong>bind</strong>  keymap key action\r
+<strong>color</strong> area fgcolor bgcolor [attributes]</div></div>\r
+</div>\r
+<h2>DESCRIPTION</h2>\r
+<div class="sectionbody">\r
+<p>You can permanently set an option by putting it in the <tt>~/.tigrc</tt> file.  The\r
+file consists of a series of <em>commands</em>.  Each line of the file may contain\r
+only one command.</p>\r
+<p>The hash mark (<em>#</em>) is used as a <em>comment</em> character. All text after the\r
+comment character to the end of the line is ignored. You can use comments to\r
+annotate your initialization file.</p>\r
+</div>\r
+<h2>Set command</h2>\r
+<div class="sectionbody">\r
+<p>A few selective variables can be configured via the set command. The syntax\r
+is:</p>\r
+<div class="verseblock">\r
+<div class="content">        <strong>set</strong> variables <strong>=</strong> value</div></div>\r
+<p>Examples:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>        set show-rev-graph = yes        # Show revision graph?\r
+        set line-number-interval = 5    # Interval between line numbers\r
+        set tab-size = 8                # Number of spaces pr tab\r
+        set encoding = "UTF-8"          # Commit encoding</tt></pre>\r
+</div></div>\r
+<p>The type of variables are either bool, int, and string.</p>\r
+<dl>\r
+<dt>\r
+Valid bool values\r
+</dt>\r
+<dd>\r
+<p>\r
+        To set a bool variable to true use either "1", "true", or "yes".\r
+        Any other value will set the variable to false.\r
+</p>\r
+</dd>\r
+<dt>\r
+Valid int values\r
+</dt>\r
+<dd>\r
+<p>\r
+        A non-negative integer.\r
+</p>\r
+</dd>\r
+<dt>\r
+Valid string values\r
+</dt>\r
+<dd>\r
+<p>\r
+        A string of characters. Optionally, use either ' or " as delimiters.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Variables</h3>\r
+<p>The following variables can be set:</p>\r
+<dl>\r
+<dt>\r
+<em>show-rev-graph</em> (bool)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Show revision graph in the main view on start-up. Can be toggled with\r
+        <em>g</em>.\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>line-number-interval</em> (int)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Interval between line numbers. Note, you have to toggle on line\r
+        numbering with <em>n</em> or the <tt>-n</tt> command line option.  The default is to\r
+        number every line.\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>tab-size</em> (int)\r
+</dt>\r
+<dd>\r
+<p>\r
+        Number of spaces per tab. The default is 8 spaces.\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>commit-encoding</em> (string)\r
+</dt>\r
+<dd>\r
+<p>\r
+        The encoding used for commits. The default is UTF-8. Not this option\r
+        is shadowed by the "i18n.commitencoding" option in <tt>.git/config</tt>.\r
+</p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>Bind command</h2>\r
+<div class="sectionbody">\r
+<p>Using bind commands keys can be mapped to an action when pressed in a given\r
+key map. The syntax is:</p>\r
+<div class="verseblock">\r
+<div class="content">        <strong>bind</strong> <em>keymap</em> <em>key</em> <em>action</em></div></div>\r
+<p>Examples:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>        # A few keybindings\r
+        bind main w scroll-line-up\r
+        bind main s scroll-line-down\r
+        bind main space enter\r
+        bind diff a previous\r
+        bind diff d next\r
+        bind diff b move-first-line\r
+        # 'unbind' the default quit key binding\r
+        bind main Q none</tt></pre>\r
+</div></div>\r
+<p>Keys are mapped by first searching the keybindings for the current view, then\r
+the keybindings for the <strong>generic</strong> keymap, and last the default keybindings.\r
+Thus, the view keybindings shadow the generic keybindings which Shadow the\r
+built-in keybindings.</p>\r
+<dl>\r
+<dt>\r
+Keymaps\r
+</dt>\r
+<dd>\r
+<p>\r
+Valid keymaps are: <strong>main</strong>, <strong>diff</strong>, <strong>log</strong>, <strong>help</strong>, <strong>pager</strong>, and <strong>generic</strong>.  Use\r
+<strong>generic</strong> to set key mapping in all keymaps.\r
+</p>\r
+</dd>\r
+<dt>\r
+Key values\r
+</dt>\r
+<dd>\r
+<p>\r
+Key values should never be quoted. Use either the ASCII value or one of the\r
+following symbolic key names. Symbolic key names are case insensitive, Use\r
+<strong>Hash</strong> to bind to the <tt>#</tt> key, since the hash mark is used as a comment\r
+character.\r
+</p>\r
+<p><strong>Enter</strong>, <strong>Space</strong>, <strong>Backspace</strong>, <strong>Tab</strong>, <strong>Escape</strong>, <strong>Left</strong>, <strong>Right</strong>, <strong>Up</strong>, <strong>Down</strong>,\r
+<strong>Insert</strong>, <strong>Delete</strong>, <strong>Hash</strong>, <strong>Home</strong>, <strong>End</strong>, <strong>PageUp</strong>, <strong>PageDown</strong>, <strong>F1</strong>, <strong>F2</strong>, <strong>F3</strong>,\r
+<strong>F4</strong>, <strong>F5</strong>, <strong>F6</strong>, <strong>F7</strong>, <strong>F8</strong>, <strong>F9</strong>, <strong>F10</strong>, <strong>F11</strong>, <strong>F12</strong>.</p>\r
+</dd>\r
+<dt>\r
+Action names\r
+</dt>\r
+<dd>\r
+<p>\r
+Valid action names are described below. Note, all names are\r
+case-insensitive, and you may use <em>-</em>, <em>_</em>, and <em>.</em> interchangeably,\r
+e.g. "view-main", "View.Main", and "VIEW_MAIN" are the same.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Actions</h3>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="void"\r
+cellspacing="0" cellpadding="4">\r
+<col width="274" />\r
+<col width="617" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    View switching:\r
+    </th>\r
+    <th align="left">\r
+    \r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    view-main\r
+    </td>\r
+    <td align="left">\r
+    Show main view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-diff\r
+    </td>\r
+    <td align="left">\r
+    Show diff view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-log\r
+    </td>\r
+    <td align="left">\r
+    Show log view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-tree\r
+    </td>\r
+    <td align="left">\r
+    Show tree view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-blob\r
+    </td>\r
+    <td align="left">\r
+    Show blob view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-pager\r
+    </td>\r
+    <td align="left">\r
+    Show pager view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-help\r
+    </td>\r
+    <td align="left">\r
+    Show help page\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="void"\r
+cellspacing="0" cellpadding="4">\r
+<col width="274" />\r
+<col width="617" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    View manipulation:\r
+    </th>\r
+    <th align="left">\r
+    \r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    enter\r
+    </td>\r
+    <td align="left">\r
+    Enter current line and scroll\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    next\r
+    </td>\r
+    <td align="left">\r
+    Move to next\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    previous\r
+    </td>\r
+    <td align="left">\r
+    Move to previous\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-next\r
+    </td>\r
+    <td align="left">\r
+    Move focus to next view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    view-close\r
+    </td>\r
+    <td align="left">\r
+    Close the current view\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    quit\r
+    </td>\r
+    <td align="left">\r
+    Close all views and quit\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="void"\r
+cellspacing="0" cellpadding="4">\r
+<col width="274" />\r
+<col width="617" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Cursor navigation:\r
+    </th>\r
+    <th align="left">\r
+    \r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    move-up\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one line up\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    move-down\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one line down\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    move-page-down\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one page down\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    move-page-up\r
+    </td>\r
+    <td align="left">\r
+    Move cursor one page up\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    move-first-line\r
+    </td>\r
+    <td align="left">\r
+    Move cursor to first line\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    move-last-line\r
+    </td>\r
+    <td align="left">\r
+    Move cursor to last line\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="void"\r
+cellspacing="0" cellpadding="4">\r
+<col width="274" />\r
+<col width="617" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Scrolling:\r
+    </th>\r
+    <th align="left">\r
+    \r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    scroll-line-up\r
+    </td>\r
+    <td align="left">\r
+    Scroll one line up\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    scroll-line-down\r
+    </td>\r
+    <td align="left">\r
+    Scroll one line down\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    scroll-page-eup\r
+    </td>\r
+    <td align="left">\r
+    Scroll one page up\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    scroll-page-down\r
+    </td>\r
+    <td align="left">\r
+    Scroll one page down\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+<div class="tableblock">\r
+<table rules="none"\r
+frame="void"\r
+cellspacing="0" cellpadding="4">\r
+<col width="274" />\r
+<col width="617" />\r
+<thead>\r
+  <tr>\r
+    <th align="left">\r
+    Misc:\r
+    </th>\r
+    <th align="left">\r
+    \r
+    </th>\r
+  </tr>\r
+</thead>\r
+<tbody valign="top">\r
+  <tr>\r
+    <td align="left">\r
+    none\r
+    </td>\r
+    <td align="left">\r
+    Do nothing\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    prompt\r
+    </td>\r
+    <td align="left">\r
+    Bring up the prompt\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    screen-redraw\r
+    </td>\r
+    <td align="left">\r
+    Redraw the screen\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    screen-resize\r
+    </td>\r
+    <td align="left">\r
+    Resize the screen\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    show-version\r
+    </td>\r
+    <td align="left">\r
+    Show version information\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    stop-loading\r
+    </td>\r
+    <td align="left">\r
+    Stop all loading views\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    toggle-lineno\r
+    </td>\r
+    <td align="left">\r
+    Toggle line numbers\r
+    </td>\r
+  </tr>\r
+  <tr>\r
+    <td align="left">\r
+    toggle-rev-graph\r
+    </td>\r
+    <td align="left">\r
+    Toggle revision graph visualization\r
+    </td>\r
+  </tr>\r
+</tbody>\r
+</table>\r
+</div>\r
+</div>\r
+<h2>Color command</h2>\r
+<div class="sectionbody">\r
+<p>Color commands control highlighting and the user interface styles. If your\r
+terminal supports color, these commands can be used to assign foreground and\r
+background combinations to certain areas. Optionally, an attribute can be given\r
+as the last parameter. The syntax is:</p>\r
+<div class="verseblock">\r
+<div class="content">        <strong>color</strong> <em>area</em> <em>fgcolor</em> <em>bgcolor</em> <em>[attributes]</em></div></div>\r
+<p>Examples:</p>\r
+<div class="listingblock">\r
+<div class="content">\r
+<pre><tt>        # Diff colors\r
+        color diff-header       yellow  default\r
+        color diff-index        blue    default\r
+        color diff-chunk        magenta default\r
+        # A strange looking cursor line\r
+        color cursor            red     default underline\r
+        # UI colors\r
+        color title-blur        white   blue\r
+        color title-focus       white   blue    bold</tt></pre>\r
+</div></div>\r
+<dl>\r
+<dt>\r
+Area names\r
+</dt>\r
+<dd>\r
+<p>\r
+        Valid area names are described below. Note, all names are\r
+        case-insensitive, and you may use <em>-</em>, <em>_</em>, and <em>.</em> interchangeably,\r
+        e.g. "Diff-Header", "DIFF_HEADER", and "diff.header" are the same.\r
+</p>\r
+</dd>\r
+<dt>\r
+Color names\r
+</dt>\r
+<dd>\r
+<p>\r
+        Valid colors include: <strong>white</strong>, <strong>black</strong>, <strong>green</strong>, <strong>magenta</strong>, <strong>blue</strong>,\r
+        <strong>cyan</strong>, <strong>yellow</strong>, <strong>red</strong>, <strong>default</strong>. Use <strong>default</strong> to refer to the\r
+        default terminal colors.\r
+</p>\r
+</dd>\r
+<dt>\r
+Attribute names\r
+</dt>\r
+<dd>\r
+<p>\r
+        Valid attributes include: <strong>normal</strong>, <strong>blink</strong>, <strong>bold</strong>, <strong>dim</strong>, <strong>reverse</strong>,\r
+        <strong>standout</strong>, and <strong>underline</strong>. Note, not all attributes may be supported\r
+        by the terminal.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>UI colors</h3>\r
+<dl>\r
+<dt>\r
+Status window colors\r
+</dt>\r
+<dd>\r
+<p>\r
+Appearance of the bottom window showing info messages.\r
+</p>\r
+<p><strong>status</strong></p>\r
+</dd>\r
+<dt>\r
+Title window colors\r
+</dt>\r
+<dd>\r
+<p>\r
+Appearance of the title windows when they are attached\r
+to any backgrounded windows and the current window.\r
+</p>\r
+<p><strong>title-blur</strong>, <strong>title-focus</strong></p>\r
+</dd>\r
+<dt>\r
+Cursor line colors\r
+</dt>\r
+<dd>\r
+<p>\r
+<strong>cursor</strong>\r
+</p>\r
+</dd>\r
+<dt>\r
+Main view specific\r
+</dt>\r
+<dd>\r
+<p>\r
+Appearance of the various columns in the main view, including the <em>~</em> used for\r
+delimiting long author names and labels for tag and branch references.\r
+</p>\r
+<p><strong>main-date</strong>, <strong>main-author</strong>, <strong>main-commit</strong>, <strong>main-delim</strong>, <strong>main-tag</strong>,\r
+<strong>main-ref</strong></p>\r
+</dd>\r
+</dl>\r
+<h3>Highlighting</h3>\r
+<p>The colors and attributes for text that is not highlighted can be controlled\r
+by changing the <strong>default</strong> color option.</p>\r
+<dl>\r
+<dt>\r
+Diff markup\r
+</dt>\r
+<dd>\r
+<p>\r
+Options concerning diff start, chunks and lines added and deleted.\r
+</p>\r
+<p><strong>diff-header</strong>, <strong>diff-chunk</strong>, <strong>diff-add</strong>, <strong>diff-del</strong></p>\r
+</dd>\r
+<dt>\r
+Enhanced git diff markup\r
+</dt>\r
+<dd>\r
+<p>\r
+Extra diff information emitted by the git diff machinery, such as mode\r
+changes, rename detection, and similarity.\r
+</p>\r
+<p><strong>diff-oldmode</strong>, <strong>diff-newmode</strong>, <strong>diff-copy-from</strong>, <strong>diff-copy-to</strong>,\r
+<strong>diff-rename-from</strong>, <strong>diff-rename-to</strong>, <strong>diff-similarity</strong> <strong>diff-dissimilarity</strong>\r
+<strong>diff-tree</strong>, <strong>diff-index</strong></p>\r
+</dd>\r
+<dt>\r
+Pretty print commit headers\r
+</dt>\r
+<dd>\r
+<p>\r
+Commit diffs and the revision logs are usually formatted using pretty printed\r
+headers , unless <tt>--pretty=raw</tt> was given. This includes lines, such as merge\r
+info, commit ID, and author and committer date.\r
+</p>\r
+<p><strong>pp-author</strong>, <strong>pp-commit</strong>, <strong>pp-merge</strong>, <strong>pp-date</strong>, <strong>pp-adate</strong>, <strong>pp-cdate</strong></p>\r
+</dd>\r
+<dt>\r
+Raw commit header\r
+</dt>\r
+<dd>\r
+<p>\r
+Usually shown when <tt>--pretty=raw</tt> is given, however <em>commit</em> is pretty much\r
+omnipresent.\r
+</p>\r
+<p><strong>commit</strong>, <strong>parent</strong>, <strong>tree</strong>, <strong>author</strong>, <strong>committer</strong></p>\r
+</dd>\r
+<dt>\r
+Commit message\r
+</dt>\r
+<dd>\r
+<p>\r
+For now only <tt>Signed-off-by</tt> and <tt>Acked-by</tt> lines are colorized.\r
+</p>\r
+<p><strong>signoff</strong>, <strong>acked</strong></p>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2>COPYRIGHT</h2>\r
+<div class="sectionbody">\r
+<p>Copyright (c) 2006 Jonas Fonseca &lt;fonseca@diku.dk&gt;</p>\r
+<p>Licensed under the terms of the GNU General Public License.</p>\r
+</div>\r
+<h2>SEE ALSO</h2>\r
+<div class="sectionbody">\r
+<p><a href="tig.1.html">tig(1)</a> and the <a href="http://jonas.nitro.dk/tig/manual.html">tig manual</a>.</p>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 18-Sep-2006 18:23:53 CEST\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r