Sync docs
authorJonas Fonseca <fonseca@diku.dk>
Mon, 29 May 2006 19:46:56 +0000 (21:46 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Mon, 29 May 2006 19:46:56 +0000 (21:46 +0200)
README.html
manual.html [new file with mode: 0644]
tig.1
tig.1.html
tig.1.txt
tigrc.5 [new file with mode: 0644]
tigrc.5.html [new file with mode: 0644]

index 8635164..739aee5 100644 (file)
@@ -1,36 +1,46 @@
+<div style="font-family: sans-serif;">\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
-of various git commands.</p>\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 try to colorize it.</p>\r
+<p>Using it as a pager, it will display input from stdin and colorize it.</p>\r
 </div>\r
 </div>\r
-<h2>Getting it</h2>\r
+<h2>Resources</h2>\r
 <div class="sectionbody">\r
-<p>To get tig either grab the Makefile and tig.c files from the home page:</p>\r
 <ul>\r
 <li>\r
 <p>\r
-<a href="http://jonas.nitro.dk/tig/">http://jonas.nitro.dk/tig/</a>\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
-</ul>\r
-<p>or clone the tig repository using the URL:</p>\r
-<ul>\r
 <li>\r
 <p>\r
-<a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>\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>Documentation files are available either at the home page or in the above\r
-repository in the branch named <em>release</em>.</p>\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
@@ -104,3 +114,4 @@ be available.</td>
 </tr></table>\r
 </div>\r
 </div>\r
+</div>\r
diff --git a/manual.html b/manual.html
new file mode 100644 (file)
index 0000000..6575331
--- /dev/null
@@ -0,0 +1,925 @@
+<!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
+</div>\r
+</div>\r
+<h2>Calling Conventions</h2>\r
+<div class="sectionbody">\r
+<h3>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="literalblock">\r
+<div class="content">\r
+<pre><tt>$ git show | tig</tt></pre>\r
+</div></div>\r
+<h3>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="literalblock">\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>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>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="literalblock">\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="literalblock">\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>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="literalblock">\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>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="literalblock">\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>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 everytime 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>Views</h3>\r
+<p>tig(1) presents various <em>views</em> of a repository. 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 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 the information from the tig(1) man page. For the help view\r
+        to work you need to have the tig(1) man page installed.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>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="literalblock">\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="literalblock">\r
+<div class="content">\r
+<pre><tt>[main] 77d9e40fbcea3238015aea403e06f61542df9a31 - commit 1 of 779 (0%) 5s</tt></pre>\r
+</div></div>\r
+</div>\r
+<h2>Keys</h2>\r
+<div class="sectionbody">\r
+<p>Below the default key bindings are shown.</p>\r
+<h3>View Switching</h3>\r
+<dl>\r
+<dt>\r
+m\r
+</dt>\r
+<dd>\r
+<p>\r
+        Switch to main view.\r
+</p>\r
+</dd>\r
+<dt>\r
+d\r
+</dt>\r
+<dd>\r
+<p>\r
+        Switch to diff view.\r
+</p>\r
+</dd>\r
+<dt>\r
+l\r
+</dt>\r
+<dd>\r
+<p>\r
+        Switch to log view.\r
+</p>\r
+</dd>\r
+<dt>\r
+p\r
+</dt>\r
+<dd>\r
+<p>\r
+        Switch to pager view.\r
+</p>\r
+</dd>\r
+<dt>\r
+h\r
+</dt>\r
+<dd>\r
+<p>\r
+        Show man page.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>View Manipulation</h3>\r
+<dl>\r
+<dt>\r
+q\r
+</dt>\r
+<dd>\r
+<p>\r
+        Close view, if multiple views are open it will jump back to the\r
+        previous view in the view stack. If it is the last open view it\r
+        will quit. Use <em>Q</em> to quit all views at once.\r
+</p>\r
+</dd>\r
+<dt>\r
+Enter\r
+</dt>\r
+<dd>\r
+<p>\r
+        This key is "context sensitive" depending on what view you are\r
+        currently in. When in log view on a commit line or in the main\r
+        view, split the view and show the commit diff. In the diff view\r
+        pressing Enter will simply scroll the view one line down.\r
+</p>\r
+</dd>\r
+<dt>\r
+Tab\r
+</dt>\r
+<dd>\r
+<p>\r
+        Switch to next view.\r
+</p>\r
+</dd>\r
+<dt>\r
+Up\r
+</dt>\r
+<dd>\r
+<p>\r
+        This key is "context sensitive" and will move the cursor one\r
+        line up. However, uf you opened a diff view from the main view\r
+        (split- or full-screen) it will change the cursor to point to\r
+        the previous commit in the main view and update the diff view\r
+        to display it.\r
+</p>\r
+</dd>\r
+<dt>\r
+Down\r
+</dt>\r
+<dd>\r
+<p>\r
+        Similar to <em>Up</em> but will move down.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Cursor Navigation</h3>\r
+<dl>\r
+<dt>\r
+j\r
+</dt>\r
+<dd>\r
+<p>\r
+        Move cursor one line up.\r
+</p>\r
+</dd>\r
+<dt>\r
+k\r
+</dt>\r
+<dd>\r
+<p>\r
+        Move cursor one line down.\r
+</p>\r
+</dd>\r
+<dt>\r
+PgUp\r
+</dt>\r
+<dt>\r
+b\r
+</dt>\r
+<dt>\r
+-\r
+</dt>\r
+<dd>\r
+<p>\r
+        Move cursor one page up.\r
+</p>\r
+</dd>\r
+<dt>\r
+PgDown\r
+</dt>\r
+<dt>\r
+Space\r
+</dt>\r
+<dd>\r
+<p>\r
+        Move cursor one page down.\r
+</p>\r
+</dd>\r
+<dt>\r
+Home\r
+</dt>\r
+<dd>\r
+<p>\r
+        Jump to first line.\r
+</p>\r
+</dd>\r
+<dt>\r
+End\r
+</dt>\r
+<dd>\r
+<p>\r
+        Jump to last line.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Scrolling</h3>\r
+<dl>\r
+<dt>\r
+Insert\r
+</dt>\r
+<dd>\r
+<p>\r
+        Scroll view one line up.\r
+</p>\r
+</dd>\r
+<dt>\r
+Delete\r
+</dt>\r
+<dd>\r
+<p>\r
+        Scroll view one line down.\r
+</p>\r
+</dd>\r
+<dt>\r
+w\r
+</dt>\r
+<dd>\r
+<p>\r
+        Scroll view one page up.\r
+</p>\r
+</dd>\r
+<dt>\r
+s\r
+</dt>\r
+<dd>\r
+<p>\r
+        Scroll view one page down.\r
+</p>\r
+</dd>\r
+</dl>\r
+<h3>Misc</h3>\r
+<dl>\r
+<dt>\r
+Q\r
+</dt>\r
+<dd>\r
+<p>\r
+        Quit.\r
+</p>\r
+</dd>\r
+<dt>\r
+r\r
+</dt>\r
+<dd>\r
+<p>\r
+        Redraw screen.\r
+</p>\r
+</dd>\r
+<dt>\r
+z\r
+</dt>\r
+<dd>\r
+<p>\r
+        Stop all background loading. This can be useful if you use\r
+        tig(1) in a repository with a long history without limiting\r
+        the revision log.\r
+</p>\r
+</dd>\r
+<dt>\r
+v\r
+</dt>\r
+<dd>\r
+<p>\r
+        Show version.\r
+</p>\r
+</dd>\r
+<dt>\r
+n\r
+</dt>\r
+<dd>\r
+<p>\r
+        Toggle line numbers on/off.\r
+</p>\r
+</dd>\r
+<dt>\r
+<em>:</em>\r
+</dt>\r
+<dd>\r
+<p>\r
+        Open prompt. This allows you to specify what git command\r
+        to run. Example:\r
+</p>\r
+<div class="literalblock">\r
+<div class="content">\r
+<pre><tt>:log -p</tt></pre>\r
+</div></div>\r
+</dd>\r
+</dl>\r
+</div>\r
+<h2><a id="refspec"></a>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(1) does not itself parse the described\r
+revision options so refer to the relevant git man pages for futher\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>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="literalblock">\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="literalblock">\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(1) stop option processing\r
+and the latter will be passed to git log.</td>\r
+</tr></table>\r
+</div>\r
+<h3>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="literalblock">\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>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="literalblock">\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="literalblock">\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>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="literalblock">\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>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="literalblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --since=1.month -n20 -- Documentation/</tt></pre>\r
+</div></div>\r
+<h3>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="literalblock">\r
+<div class="content">\r
+<pre><tt>$ tig -- --all --since=1.week -- Makefile</tt></pre>\r
+</div></div>\r
+</div>\r
+<h2>BUGS</h2>\r
+<div class="sectionbody">\r
+<p>Known bugs and problems:</p>\r
+<ul>\r
+<li>\r
+<p>\r
+In it's current state tig is pretty much UTF-8 only.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+If the screen width is very small the main view can draw\r
+   outside the current view causing bad wrapping. Same goes\r
+   for title and status windows.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+The cursor can wrap-around on the last line and cause the\r
+   window to scroll.\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
+The prompt doesn't work while loading.\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>References and Related Tools</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
+<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 29-May-2006 21:46:32 CEST\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r
diff --git a/tig.1 b/tig.1
index 1273b8d..d5a3393 100644 (file)
--- a/tig.1
+++ b/tig.1
@@ -57,7 +57,7 @@ Start up in diff view using the internal diff command\&.
 Prefix line numbers in log and diff view\&. Optionally, with interval different than each line\&.
 
 .TP
-\-t[NSPACES], \-\-tab\-size[=NSPACES]
+\-b[NSPACES], \-\-tab\-size[=NSPACES]
 Set the number of spaces tabs should be expanded to\&.
 
 .TP
@@ -96,84 +96,12 @@ tig(1) will stop the option parsing when the first command line parameter not st
 $ tig tag\-1\&.0\&.\&.HEAD
 .fi
 
-.SS "Pager mode"
-
-
-If stdin is a pipe, any log or diff options will be ignored and the pager view will be opened loading data from stdin\&. The pager mode can be used for colorizing output from various git commands\&.
-
-
-Example on how to colorize the output of git\-show(1):
-
-.nf
-$ git show | tig
-.fi
-
-.SS "Git command options"
-
-
-All git command options specified on the command line will be passed to the given command and all will be shell quoted before they are passed to the shell\&.
-
-.RS
-.Sh "Note"
-
-
-If you specify options for the main view, you should not use the \-\-pretty option as this option will be set automatically to the format expected by the main view\&.
-
-.RE
-
-
-Example on how to open the log view and show both author and committer information:
-
-.nf
-$ tig log \-\-pretty=fuller
-.fi
-
-
-See the "Specifying revisions" section below for an introduction to revision options supported by the git commands\&. For details on specific git command options, refer to the man page of the command in question\&.
-
 .SH "ENVIRONMENT VARIABLES"
 
-
-Several options related to the interface with git can be configured via environment options\&.
-
-.SS "Repository references"
-
-
-Commits that are referenced by tags and branch heads will be marked by the reference name surrounded by \fI[\fR and \fI]\fR:
-
-.nf
-2006\-03\-26 19:42 Petr Baudis         | [cogito\-0\&.17\&.1] Cogito 0\&.17\&.1
-.fi
-
-
-If you want to filter out certain directories under \&.git/refs/, say tmp you can do it by setting the following variable:
-
-.nf
-$ TIG_LS_REMOTE="git ls\-remote \&. | sed /\\/tmp\\//d" tig
-.fi
-
-
-Or set the variable permanently in your environment\&.
-
 .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)\&.
 
-.SS "View commands"
-
-
-It is possible to alter which commands are used for the different views\&. If for example you prefer commits in the main view to be sorted by date and only show 500 commits, use:
-
-.nf
-$ TIG_MAIN_CMD="git log \-\-date\-order \-n500 \-\-pretty=raw %s" tig
-.fi
-
-
-Or set the variable permanently in your environment\&.
-
-
-Notice, how %s is used to specify the commit reference\&. There can be a maximum of 5 %s ref specifications\&.
-
 .TP
 TIG_DIFF_CMD
 The command used for the diff view\&. By default, git show is used as a backend\&.
@@ -186,334 +114,81 @@ The command used for the log view\&. If you prefer to have both author and commi
 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\&.
 
-.SH "THE VIEWER"
-
-
-The display consists of a status window on the last line of the screen and one or more views\&. The default is to only show one view at the time but it is possible to split both the main and log view to also show the commit diff\&.
-
-
-If you are in the log view and press \fIEnter\fR when the current line is a commit line, such as:
-
-.nf
-commit 4d55caff4cc89335192f3e566004b4ceef572521
-.fi
-
-
-You will split the view so that the log view is displayed in the top window and the diff view in the bottom window\&. You can switch between the two views by pressing \fITab\fR\&. To maximize the log view again, simply press \fIl\fR\&.
-
-.SS "Current head and commit ID"
-
-
-The viewer keeps track of both what head and commit ID you are currently viewing\&. The commit ID will follow the cursor line and change everytime time you highlight a different commit\&. Whenever you reopen the diff view it will be reloaded, if the commit ID changed\&.
-
-
-The head ID is used when opening the main and log view to indicate from what revision to show history\&.
-
-.SS "Views"
-
-
-tig(1) presents various \fIviews\fR of a repository\&. Each view is based on output from an external command, most often \fIgit log\fR, \fIgit diff\fR, or \fIgit show\fR\&.
-
-.TP
-The main view
-Is the default view, and it shows a one line summary of each commit in the chosen list of revisions\&. The summary includes commit date, author, and the first line of the log message\&. Additionally, any repository references, such as tags, will be shown\&.
-
-.TP
-The log view
-Presents a more rich view of the revision log showing the whole log message and the diffstat\&.
-
-.TP
-The diff view
-Shows either the diff of the current working tree, that is, what has changed since the last commit, or the commit diff complete with log message, diffstat and diff\&.
-
-.TP
-The pager view
-Is used for displaying both input from stdin and output from git commands entered in the internal prompt\&.
-
-.TP
-The help view
-Displays the information from the tig(1) man page\&. For the help view to work you need to have the tig(1) man page installed\&.
-
-.SS "Title windows"
-
-
-Each view has a title window which shows the name of the view, current commit ID if available, and where the view is positioned:
-
-.nf
-[main] c622eefaa485995320bc743431bae0d497b1d875 \- commit 1 of 61 (1%)
-.fi
-
-
-By default, the title of the current view is highlighted using bold font\&.
-
-.SH "KEYS"
-
-
-Below the default key bindings are shown\&.
-
-.SS "View switching"
-
-.TP
-m
-Switch to main view\&.
+.SH "FILES"
 
 .TP
-d
-Switch to diff view\&.
+\fI~/\&.tigrc\fR
+User configuration file\&. See tigrc(5) for examples\&.
 
 .TP
-l
-Switch to log view\&.
+\fI\&.git/config\fR
+Repository config file\&. Read on startup with the help of git\-repo\-config(1)\&.
 
-.TP
-p
-Switch to pager view\&.
-
-.TP
-h
-Show man page\&.
-
-.SS "View manipulation"
-
-.TP
-q
-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 \fIQ\fR to quit all views at once\&.
-
-.TP
-Enter
-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\&.
-
-.TP
-Tab
-Switch to next view\&.
-
-.TP
-Up
-This key is "context sensitive" and will move the cursor one line up\&. However, uf 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\&.
-
-.TP
-Down
-Similar to \fIUp\fR but will move down\&.
-
-.SS "Cursor navigation"
-
-.TP
-j
-Move cursor one line up\&.
-
-.TP
-k
-Move cursor one line down\&.
-
-.TP
-PgUp, b, \-
-Move cursor one page up\&.
-
-.TP
-PgDown, Space
-Move cursor one page down\&.
-
-.TP
-Home
-Jump to first line\&.
-
-.TP
-End
-Jump to last line\&.
+.SH "BUGS"
 
-.SS "Scrolling"
 
-.TP
-Insert
-Scroll view one line up\&.
+Known bugs and problems:
 
+.TP 3
+\(bu
+In it's current state tig is pretty much UTF\-8 only\&.
 .TP
-Delete
-Scroll view one line down\&.
-
+\(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\&.
 .TP
-w
-Scroll view one page up\&.
-
+\(bu
+The cursor can wrap\-around on the last line and cause the window to scroll\&.
 .TP
-s
-Scroll view one page down\&.
+\(bu
+The prompt doesn't work while loading\&.
+.LP
 
-.SS "Misc"
+.SH "COPYRIGHT"
 
-.TP
-Q
-Quit\&.
 
-.TP
-r
-Redraw screen\&.
+Copyright (c) 2006 Jonas Fonseca <fonseca@diku\&.dk>
 
-.TP
-z
-Stop all background loading\&. This can be useful if you use tig(1) in a repository with a long history without limiting the revision log\&.
 
-.TP
-v
-Show version\&.
+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\&.
 
-.TP
-n
-Toggle line numbers on/off\&.
+.SH "SEE ALSO"
 
+.TP 3
+\(bu
+ git(7): \fIhttp://www.kernel.org/pub/software/scm/git/docs/\fR,
 .TP
-\fI:\fR
-Open prompt\&. This allows you to specify what git command to run\&. Example:
-
-.nf
-:log \-p
-.fi
-
-.SH "REVISION SPECIFICATION"
-
-
-This section describes various ways to specify what revisions to display or otherwise limit the view to\&. tig(1) does not itself parse the described revision options so refer to the relevant git man pages for futher information\&. Relevant man pages besides git\-log(1) are git\-diff(1) and git\-rev\-list(1)\&.
-
-
-You can tune the interaction with git by making use of the options explained in this section\&. For example, by configuring the environment variables described in the "View commands" section\&.
-
-.SS "Limit by path name"
-
-
-If you are interested only in those revisions that made changes to a specific file (or even several files) list the files like this:
-
-.nf
-$ tig log Makefile README
-.fi
-
-
-To avoid ambiguity with repository references such as tag name, be sure to separate file names from other git options using "\-\-"\&. So if you have a file named \fImaster\fR it will clash with the reference named \fImaster\fR, and thus you will have to use:
-
-.nf
-$ tig log \-\- master
-.fi
-
-.RS
-.Sh "Note"
-
-
-For the main view, avoiding ambiguity will in some cases require you to specify two "\-\-" options\&. The first will make tig(1) stop option processing and the latter will be passed to git log\&.
-
-.RE
-
-.SS "Limit by date or number"
-
-
-To speed up interaction with git, you can limit the amount of commits to show both for the log and main view\&. Either limit by date using e\&.g\&. \-\-since=1\&.month or limit by the number of commits using \-n400\&.
-
-
-If you are only interested in changed that happened between two dates you can use:
-
-.nf
-$ tig \-\- \-\-after="May 5th" \-\-before="2006\-05\-16 15:44"
-.fi
-
-.RS
-.Sh "Note"
-
-
-If you want to avoid having to quote dates containing spaces you can use "\&." instead, e\&.g\&. \-\-after=May\&.5th\&.
-
-.RE
-
-.SS "Limiting by commit ranges"
-
-
-Alternatively, commits can be limited to a specific range, such as "all commits between \fItag\-1\&.0\fR and \fItag\-2\&.0\fR"\&. For example:
-
-.nf
-$ tig log tag\-1\&.0\&.\&.tag\-2\&.0
-.fi
-
-
-This way of commit limiting makes it trivial to only browse the commits which haven't been pushed to a remote branch\&. Assuming \fIorigin\fR is your upstream remote branch, using:
-
-.nf
-$ tig log origin\&.\&.HEAD
-.fi
-
-
-will list what will be pushed to the remote branch\&. Optionally, the ending \fIHEAD\fR can be left out since it is implied\&.
-
-.SS "Limiting by reachability"
-
-
-Git interprets the range specifier "tag\-1\&.0\&.\&.tag\-2\&.0" as "all commits reachable from \fItag\-2\&.0\fR but not from \fItag\-1\&.0\fR"\&. Where reachability refers to what commits are ancestors (or part of the history) of the branch or tagged revision in question\&.
-
-
-If you prefer to specify which commit to preview in this way use the following:
-
-.nf
-$ tig log tag\-2\&.0 ^tag\-1\&.0
-.fi
-
-
-You can think of \fI^\fR as a negation operator\&. Using this alternate syntax, it is possible to further prune commits by specifying multiple branch cut offs\&.
-
-.SS "Combining revisions specification"
-
-
-Revisions options can to some degree be combined, which makes it possible to say "show at most 20 commits from within the last month that changed files under the Documentation/ directory\&."
-
-.nf
-$ tig \-\- \-\-since=1\&.month \-n20 \-\- Documentation/
-.fi
-
-.SS "Examining all repository references"
-
-
-In some cases, it can be useful to query changes across all references in a repository\&. An example is to ask "did any line of development in this repository change a particular file within the last week"\&. This can be accomplished using:
-
-.nf
-$ tig \-\- \-\-all \-\-since=1\&.week \-\- Makefile
-.fi
-
-.SH "BUGS"
+\(bu
+ cogito(7): \fIhttp://www.kernel.org/pub/software/scm/cogito/docs/\fR 
+.LP
 
 
-Known bugs and problems:
+Other git repository browsers:
 
 .TP 3
 \(bu
-In it's current state tig is pretty much UTF\-8 only\&.
+gitk(1)
 .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\&.
+qgit(1)
+.TP
+\(bu
+gitview(1)
 .LP
 
-.SH "TODO"
 
-
-Features that should be explored\&.
+Sites:
 
 .TP 3
 \(bu
-Searching\&.
+Homepage: http://jonas\&.nitro\&.dk/tig: \fIhttp://jonas.nitro.dk/tig\fR 
+.TP
+\(bu
+Releases: http://jonas\&.nitro\&.dk/tig/releases: \fIhttp://jonas.nitro.dk/tig/releases\fR 
 .TP
 \(bu
-Locale support\&.
+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
 
-.SH "COPYRIGHT"
-
-
-Copyright (c) Jonas Fonseca <fonseca@diku\&.dk>, 2006
-
-
-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"
-
-.nf
-git(7): \fIhttp://www.kernel.org/pub/software/scm/git/docs/\fR,
-cogito(7): \fIhttp://www.kernel.org/pub/software/scm/cogito/docs/\fR
-gitk(1): git repository browser written using tcl/tk,
-qgit(1): git repository browser written using c++/Qt,
-gitview(1): git repository browser written using python/gtk\&.
-.fi
-
index c408616..5c34111 100644 (file)
@@ -319,7 +319,7 @@ to colorize it.</p>
 </p>\r
 </dd>\r
 <dt>\r
--t[NSPACES], --tab-size[=NSPACES]\r
+-b[NSPACES], --tab-size[=NSPACES]\r
 </dt>\r
 <dd>\r
 <p>\r
@@ -396,58 +396,9 @@ show [git show options]
 </div></div>\r
 </dd>\r
 </dl>\r
-<h3>Pager mode</h3>\r
-<p>If stdin is a pipe, any log or diff options will be ignored and the\r
-pager view will be opened loading data from stdin. The pager mode\r
-can be used for colorizing output from various git commands.</p>\r
-<p>Example on how to colorize the output of git-show(1):</p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>$ git show | tig</tt></pre>\r
-</div></div>\r
-<h3>Git command options</h3>\r
-<p>All git command options specified on the command line will\r
-be passed to the given command and all will be shell quoted\r
-before they are passed to the 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\r
-not use the <tt>--pretty</tt> option as this option will be set\r
-automatically to the format 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\r
-committer information:</p>\r
-<div class="literalblock">\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\r
-for an introduction to revision options supported by the git\r
-commands. For details on specific git command options, refer\r
-to the man page of the command in question.</p>\r
 </div>\r
 <h2>ENVIRONMENT VARIABLES</h2>\r
 <div class="sectionbody">\r
-<p>Several options related to the interface with git can be configured\r
-via environment options.</p>\r
-<h3>Repository references</h3>\r
-<p>Commits that are referenced by tags and branch heads will be marked\r
-by the reference name surrounded by <em>[</em> and <em>]</em>:</p>\r
-<div class="literalblock">\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\r
-<tt>tmp</tt> you can do it by setting the following variable:</p>\r
-<div class="literalblock">\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
@@ -458,19 +409,6 @@ TIG_LS_REMOTE
         should output data in the same format as git-ls-remote(1).\r
 </p>\r
 </dd>\r
-</dl>\r
-<h3><a id="view-commands"></a>View commands</h3>\r
-<p>It is possible to alter which commands are used for the different views.\r
-If for example you prefer commits in the main view to be sorted by date\r
-and only show 500 commits, use:</p>\r
-<div class="literalblock">\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\r
-be a maximum of 5 <tt>%s</tt> ref specifications.</p>\r
-<dl>\r
 <dt>\r
 TIG_DIFF_CMD\r
 </dt>\r
@@ -502,498 +440,124 @@ TIG_MAIN_CMD
 </dd>\r
 </dl>\r
 </div>\r
-<h2>The viewer</h2>\r
+<h2>FILES</h2>\r
 <div class="sectionbody">\r
-<p>The display consists of a status window on the last line of the screen and\r
-one or more views. The default is to only show one view at the time but it\r
-is possible to split both the main and log view to also show the commit\r
-diff.</p>\r
-<p>If you are in the log view and press <em>Enter</em> when the current line is a\r
-commit line, such as:</p>\r
-<div class="literalblock">\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\r
-views by pressing <em>Tab</em>. To maximize the log view again, simply press <em>l</em>.</p>\r
-<h3>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 everytime time\r
-you highlight a different commit. Whenever you reopen the diff view it\r
-will be reloaded, if the commit ID changed.</p>\r
-<p>The head ID is used when opening the main and log view to indicate from\r
-what revision to show history.</p>\r
-<h3>Views</h3>\r
-<p>tig(1) presents various <em>views</em> of a repository. 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 pager view\r
+<em>~/.tigrc</em>\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
+        User configuration file. See tigrc(5) for examples.\r
 </p>\r
 </dd>\r
 <dt>\r
-The help view\r
+<em>.git/config</em>\r
 </dt>\r
 <dd>\r
 <p>\r
-        Displays the information from the tig(1) man page. For the help view\r
-        to work you need to have the tig(1) man page installed.\r
+        Repository config file. Read on startup with the help of\r
+        git-repo-config(1).\r
 </p>\r
 </dd>\r
 </dl>\r
-<h3>Title windows</h3>\r
-<p>Each view has a title window which shows the name of the view, current\r
-commit ID if available, and where the view is positioned:</p>\r
-<div class="literalblock">\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.</p>\r
 </div>\r
-<h2>KEYS</h2>\r
+<h2>BUGS</h2>\r
 <div class="sectionbody">\r
-<p>Below the default key bindings are shown.</p>\r
-<h3>View switching</h3>\r
-<dl>\r
-<dt>\r
-m\r
-</dt>\r
-<dd>\r
-<p>\r
-        Switch to main view.\r
-</p>\r
-</dd>\r
-<dt>\r
-d\r
-</dt>\r
-<dd>\r
-<p>\r
-        Switch to diff view.\r
-</p>\r
-</dd>\r
-<dt>\r
-l\r
-</dt>\r
-<dd>\r
-<p>\r
-        Switch to log view.\r
-</p>\r
-</dd>\r
-<dt>\r
-p\r
-</dt>\r
-<dd>\r
-<p>\r
-        Switch to pager view.\r
-</p>\r
-</dd>\r
-<dt>\r
-h\r
-</dt>\r
-<dd>\r
-<p>\r
-        Show man page.\r
-</p>\r
-</dd>\r
-</dl>\r
-<h3>View manipulation</h3>\r
-<dl>\r
-<dt>\r
-q\r
-</dt>\r
-<dd>\r
-<p>\r
-        Close view, if multiple views are open it will jump back to the\r
-        previous view in the view stack. If it is the last open view it\r
-        will quit. Use <em>Q</em> to quit all views at once.\r
-</p>\r
-</dd>\r
-<dt>\r
-Enter\r
-</dt>\r
-<dd>\r
-<p>\r
-        This key is "context sensitive" depending on what view you are\r
-        currently in. When in log view on a commit line or in the main\r
-        view, split the view and show the commit diff. In the diff view\r
-        pressing Enter will simply scroll the view one line down.\r
-</p>\r
-</dd>\r
-<dt>\r
-Tab\r
-</dt>\r
-<dd>\r
-<p>\r
-        Switch to next view.\r
-</p>\r
-</dd>\r
-<dt>\r
-Up\r
-</dt>\r
-<dd>\r
-<p>\r
-        This key is "context sensitive" and will move the cursor one\r
-        line up. However, uf you opened a diff view from the main view\r
-        (split- or full-screen) it will change the cursor to point to\r
-        the previous commit in the main view and update the diff view\r
-        to display it.\r
-</p>\r
-</dd>\r
-<dt>\r
-Down\r
-</dt>\r
-<dd>\r
-<p>\r
-        Similar to <em>Up</em> but will move down.\r
-</p>\r
-</dd>\r
-</dl>\r
-<h3>Cursor navigation</h3>\r
-<dl>\r
-<dt>\r
-j\r
-</dt>\r
-<dd>\r
-<p>\r
-        Move cursor one line up.\r
-</p>\r
-</dd>\r
-<dt>\r
-k\r
-</dt>\r
-<dd>\r
-<p>\r
-        Move cursor one line down.\r
-</p>\r
-</dd>\r
-<dt>\r
-PgUp\r
-</dt>\r
-<dt>\r
-b\r
-</dt>\r
-<dt>\r
--\r
-</dt>\r
-<dd>\r
-<p>\r
-        Move cursor one page up.\r
-</p>\r
-</dd>\r
-<dt>\r
-PgDown\r
-</dt>\r
-<dt>\r
-Space\r
-</dt>\r
-<dd>\r
-<p>\r
-        Move cursor one page down.\r
-</p>\r
-</dd>\r
-<dt>\r
-Home\r
-</dt>\r
-<dd>\r
-<p>\r
-        Jump to first line.\r
-</p>\r
-</dd>\r
-<dt>\r
-End\r
-</dt>\r
-<dd>\r
-<p>\r
-        Jump to last line.\r
-</p>\r
-</dd>\r
-</dl>\r
-<h3>Scrolling</h3>\r
-<dl>\r
-<dt>\r
-Insert\r
-</dt>\r
-<dd>\r
-<p>\r
-        Scroll view one line up.\r
-</p>\r
-</dd>\r
-<dt>\r
-Delete\r
-</dt>\r
-<dd>\r
+<p>Known bugs and problems:</p>\r
+<ul>\r
+<li>\r
 <p>\r
-        Scroll view one line down.\r
+In it's current state tig is pretty much UTF-8 only.\r
 </p>\r
-</dd>\r
-<dt>\r
-w\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Scroll view one page up.\r
+If the screen width is very small the main view can draw\r
+   outside the current view causing bad wrapping. Same goes\r
+   for title and status windows.\r
 </p>\r
-</dd>\r
-<dt>\r
-s\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Scroll view one page down.\r
+The cursor can wrap-around on the last line and cause the\r
+   window to scroll.\r
 </p>\r
-</dd>\r
-</dl>\r
-<h3>Misc</h3>\r
-<dl>\r
-<dt>\r
-Q\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Quit.\r
+The prompt doesn't work while loading.\r
 </p>\r
-</dd>\r
-<dt>\r
-r\r
-</dt>\r
-<dd>\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
+<ul>\r
+<li>\r
 <p>\r
-        Redraw screen.\r
+<a href="http://www.kernel.org/pub/software/scm/git/docs/">git(7)</a>,\r
 </p>\r
-</dd>\r
-<dt>\r
-z\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Stop all background loading. This can be useful if you use\r
-        tig(1) in a repository with a long history without limiting\r
-        the revision log.\r
+<a href="http://www.kernel.org/pub/software/scm/cogito/docs/">cogito(7)</a>\r
 </p>\r
-</dd>\r
-<dt>\r
-v\r
-</dt>\r
-<dd>\r
+</li>\r
+</ul>\r
+<p>Other git repository browsers:</p>\r
+<ul>\r
+<li>\r
 <p>\r
-        Show version.\r
+gitk(1)\r
 </p>\r
-</dd>\r
-<dt>\r
-n\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Toggle line numbers on/off.\r
+qgit(1)\r
 </p>\r
-</dd>\r
-<dt>\r
-<em>:</em>\r
-</dt>\r
-<dd>\r
+</li>\r
+<li>\r
 <p>\r
-        Open prompt. This allows you to specify what git command\r
-        to run. Example:\r
+gitview(1)\r
 </p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>:log -p</tt></pre>\r
-</div></div>\r
-</dd>\r
-</dl>\r
-</div>\r
-<h2><a id="refspec"></a>Revision specification</h2>\r
-<div class="sectionbody">\r
-<p>This section describes various ways to specify what revisions to display\r
-or otherwise limit the view to. tig(1) does not itself parse the described\r
-revision options so refer to the relevant git man pages for futher\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\r
-explained in this section. For example, by configuring the environment\r
-variables described in the  <a href="#view-commands">"View commands"</a> section.</p>\r
-<h3>Limit by path name</h3>\r
-<p>If you are interested only in those revisions that made changes to a\r
-specific file (or even several files) list the files like this:</p>\r
-<div class="literalblock">\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\r
-to separate file names from other git options using "--". So if you\r
-have a file named <em>master</em> it will clash with the reference named\r
-<em>master</em>, and thus you will have to use:</p>\r
-<div class="literalblock">\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\r
-you to specify two "--" options. The first will make tig(1) stop\r
-option processing and the latter will be passed to git log.</td>\r
-</tr></table>\r
-</div>\r
-<h3>Limit by date or number</h3>\r
-<p>To speed up interaction with git, you can limit the amount of commits\r
-to show both for the log and main view. Either limit by date using\r
-e.g. <tt>--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\r
-you can use:</p>\r
-<div class="literalblock">\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\r
-can use "." instead, e.g. <tt>--after=May.5th</tt>.</td>\r
-</tr></table>\r
-</div>\r
-<h3>Limiting by commit ranges</h3>\r
-<p>Alternatively, commits can be limited to a specific range, such as\r
-"all commits between <em>tag-1.0</em> and <em>tag-2.0</em>". For example:</p>\r
-<div class="literalblock">\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\r
-which haven't been pushed to a remote branch. Assuming <em>origin</em> is your\r
-upstream remote branch, using:</p>\r
-<div class="literalblock">\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>Limiting by reachability</h3>\r
-<p>Git interprets the range specifier "tag-1.0..tag-2.0" as\r
-"all commits reachable from <em>tag-2.0</em> but not from <em>tag-1.0</em>".\r
-Where reachability refers to what commits are ancestors (or part of the\r
-history) of the branch or tagged 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="literalblock">\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,\r
-it is possible to further prune commits by specifying multiple branch\r
-cut offs.</p>\r
-<h3>Combining revisions specification</h3>\r
-<p>Revisions options can to some degree be combined, which makes it possible\r
-to say "show at most 20 commits from within the last month that changed\r
-files under the Documentation/ directory."</p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>$ tig -- --since=1.month -n20 -- Documentation/</tt></pre>\r
-</div></div>\r
-<h3>Examining all repository references</h3>\r
-<p>In some cases, it can be useful to query changes across all references\r
-in a repository. An example is to ask "did any line of development in\r
-this repository change a particular file within the last week". This\r
-can be accomplished using:</p>\r
-<div class="literalblock">\r
-<div class="content">\r
-<pre><tt>$ tig -- --all --since=1.week -- Makefile</tt></pre>\r
-</div></div>\r
-</div>\r
-<h2>BUGS</h2>\r
-<div class="sectionbody">\r
-<p>Known bugs and problems:</p>\r
+</li>\r
+</ul>\r
+<p>Sites:</p>\r
 <ul>\r
 <li>\r
 <p>\r
-In it's current state tig is pretty much UTF-8 only.\r
+Homepage: <a href="http://jonas.nitro.dk/tig">http://jonas.nitro.dk/tig</a>\r
 </p>\r
 </li>\r
 <li>\r
 <p>\r
-If the screen width is very small the main view can draw\r
-outside the current view causing bad wrapping. Same goes\r
-for title and status windows.\r
+Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>\r
 </p>\r
 </li>\r
-</ul>\r
-</div>\r
-<h2>TODO</h2>\r
-<div class="sectionbody">\r
-<p>Features that should be explored.</p>\r
-<ul>\r
 <li>\r
 <p>\r
-Searching.\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
-Locale support.\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>COPYRIGHT</h2>\r
-<div class="sectionbody">\r
-<p>Copyright (c) Jonas Fonseca &lt;fonseca@diku.dk&gt;, 2006</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
-<div class="verseblock">\r
-<div class="content"><a href="http://www.kernel.org/pub/software/scm/git/docs/">git(7)</a>,\r
-<a href="http://www.kernel.org/pub/software/scm/cogito/docs/">cogito(7)</a>\r
-gitk(1): git repository browser written using tcl/tk,\r
-qgit(1): git repository browser written using c++/Qt,\r
-gitview(1): git repository browser written using python/gtk.</div></div>\r
-</div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 21-May-2006 05:05:28 CEST\r
+Last updated 29-May-2006 21:46:27 CEST\r
 </div>\r
 </div>\r
 </body>\r
index 7d92ed6..d44acb7 100644 (file)
--- a/tig.1.txt
+++ b/tig.1.txt
@@ -40,7 +40,7 @@ OPTIONS
        Prefix line numbers in log and diff view.
        Optionally, with interval different than each line.
 
--t[NSPACES], --tab-size[=NSPACES]::
+-b[NSPACES], --tab-size[=NSPACES]::
        Set the number of spaces tabs should be expanded to.
 
 -v, --version::
@@ -73,73 +73,12 @@ show [git show options]::
 
        $ tig tag-1.0..HEAD
 
-Pager mode
-~~~~~~~~~~
-If stdin is a pipe, any log or diff options will be ignored and the
-pager view will be opened loading data from stdin. The pager mode
-can be used for colorizing output from various git commands.
-
-Example on how to colorize the output of git-show(1):
-
-       $ git show | tig
-
-Git command options
-~~~~~~~~~~~~~~~~~~~
-All git command options specified on the command line will
-be passed to the given command and all will be shell quoted
-before they are passed to the shell.
-
-NOTE: If you specify options for the main view, you should
-not use the `--pretty` option as this option will be set
-automatically to the format expected by the main view.
-
-Example on how to open the log view and show both author and
-committer information:
-
-       $ tig log --pretty=fuller
-
-See the <<refspec, "Specifying revisions">> section below
-for an introduction to revision options supported by the git
-commands. For details on specific git command options, refer
-to the man page of the command in question.
-
 ENVIRONMENT VARIABLES
 ---------------------
-Several options related to the interface with git can be configured
-via environment options.
-
-Repository references
-~~~~~~~~~~~~~~~~~~~~~
-Commits that are referenced by tags and branch heads will be marked
-by the reference name surrounded by '[' and ']':
-
-       2006-03-26 19:42 Petr Baudis         | [cogito-0.17.1] Cogito 0.17.1
-
-If you want to filter out certain directories under `.git/refs/`, say
-`tmp` you can do it by setting the following variable:
-
-       $ TIG_LS_REMOTE="git ls-remote . | sed /\/tmp\//d" tig
-
-Or set the variable permanently in your environment.
-
 TIG_LS_REMOTE::
        Set command for retrieving all repository references. The command
        should output data in the same format as git-ls-remote(1).
 
-[[view-commands]]
-View commands
-~~~~~~~~~~~~~
-It is possible to alter which commands are used for the different views.
-If for example you prefer commits in the main view to be sorted by date
-and only show 500 commits, use:
-
-       $ TIG_MAIN_CMD="git log --date-order -n500 --pretty=raw %s" tig
-
-Or set the variable permanently in your environment.
-
-Notice, how `%s` is used to specify the commit reference. There can
-be a maximum of 5 `%s` ref specifications.
-
 TIG_DIFF_CMD::
        The command used for the diff view. By default, git show is used
        as a backend.
@@ -154,272 +93,20 @@ TIG_MAIN_CMD::
        the option: `--pretty=raw` since the main view parser expects to
        read that format.
 
-The viewer
-----------
-The display consists of a status window on the last line of the screen and
-one or more views. The default is to only show one view at the time but it
-is possible to split both the main and log view to also show the commit
-diff.
-
-If you are in the log view and press 'Enter' when the current line is a
-commit line, such as:
-
-       commit 4d55caff4cc89335192f3e566004b4ceef572521
-
-You will split the view so that the log view is displayed in the top window
-and the diff view in the bottom window. You can switch between the two
-views by pressing 'Tab'. To maximize the log view again, simply press 'l'.
-
-Current head and commit ID
-~~~~~~~~~~~~~~~~~~~~~~~~~~
-The viewer keeps track of both what head and commit ID you are currently
-viewing. The commit ID will follow the cursor line and change everytime time
-you highlight a different commit. Whenever you reopen the diff view it
-will be reloaded, if the commit ID changed.
-
-The head ID is used when opening the main and log view to indicate from
-what revision to show history.
+FILES
+-----
+'~/.tigrc'::
+       User configuration file. See tigrc(5) for examples.
 
-Views
-~~~~~
-tig(1) presents various 'views' of a repository. Each view is based on output
-from an external command, most often 'git log', 'git diff', or 'git show'.
+'.git/config'::
+       Repository config file. Read on startup with the help of
+       git-repo-config(1).
 
-The main view::
-       Is the default view, and it shows a one line summary of each commit
-       in the chosen list of revisions. The summary includes commit date,
-       author, and the first line of the log message. Additionally, any
-       repository references, such as tags, will be shown.
-
-The log view::
-       Presents a more rich view of the revision log showing the whole log
-       message and the diffstat.
-
-The diff view::
-       Shows either the diff of the current working tree, that is, what
-       has changed since the last commit, or the commit diff complete
-       with log message, diffstat and diff.
-
-The pager view::
-       Is used for displaying both input from stdin and output from git
-       commands entered in the internal prompt.
-
-The help view::
-       Displays the information from the tig(1) man page. For the help view
-       to work you need to have the tig(1) man page installed.
-
-Title windows
-~~~~~~~~~~~~~
-Each view has a title window which shows the name of the view, current
-commit ID if available, and where the view is positioned:
-
-       [main] c622eefaa485995320bc743431bae0d497b1d875 - commit 1 of 61 (1%)
-
-By default, the title of the current view is highlighted using bold font.
-
-KEYS
-----
-Below the default key bindings are shown.
-
-View switching
-~~~~~~~~~~~~~~
-m::
-       Switch to main view.
-d::
-       Switch to diff view.
-l::
-       Switch to log view.
-p::
-       Switch to pager view.
-h::
-       Show man page.
-
-View manipulation
-~~~~~~~~~~~~~~~~~
-q::
-       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 'Q' to quit all views at once.
-Enter::
-       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.
-Tab::
-       Switch to next view.
-Up::
-       This key is "context sensitive" and will move the cursor one
-       line up. However, uf 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.
-Down::
-       Similar to 'Up' but will move down.
-
-Cursor navigation
-~~~~~~~~~~~~~~~~~
-j::
-       Move cursor one line up.
-k::
-       Move cursor one line down.
-PgUp::
-b::
--::
-       Move cursor one page up.
-PgDown::
-Space::
-       Move cursor one page down.
-Home::
-       Jump to first line.
-End::
-       Jump to last line.
-
-Scrolling
-~~~~~~~~~
-Insert::
-       Scroll view one line up.
-Delete::
-       Scroll view one line down.
-w::
-       Scroll view one page up.
-s::
-       Scroll view one page down.
-
-Misc
-~~~~
-Q::
-       Quit.
-r::
-       Redraw screen.
-z::
-       Stop all background loading. This can be useful if you use
-       tig(1) in a repository with a long history without limiting
-       the revision log.
-v::
-       Show version.
-n::
-       Toggle line numbers on/off.
-':'::
-       Open prompt. This allows you to specify what git command
-       to run. Example:
-
-       :log -p
-
-[[refspec]]
-Revision specification
-----------------------
-This section describes various ways to specify what revisions to display
-or otherwise limit the view to. tig(1) does not itself parse the described
-revision options so refer to the relevant git man pages for futher
-information. Relevant man pages besides git-log(1) are git-diff(1) and
-git-rev-list(1).
-
-You can tune the interaction with git by making use of the options
-explained in this section. For example, by configuring the environment
-variables described in the  <<view-commands, "View commands">> section.
-
-Limit by path name
-~~~~~~~~~~~~~~~~~~
-If you are interested only in those revisions that made changes to a
-specific file (or even several files) list the files like this:
-
-       $ tig log Makefile README
-
-To avoid ambiguity with repository references such as tag name, be sure
-to separate file names from other git options using "\--". So if you
-have a file named 'master' it will clash with the reference named
-'master', and thus you will have to use:
-
-       $ tig log -- master
-
-NOTE: For the main view, avoiding ambiguity will in some cases require
-you to specify two "\--" options. The first will make tig(1) stop
-option processing and the latter will be passed to git log.
-
-Limit by date or number
-~~~~~~~~~~~~~~~~~~~~~~~
-To speed up interaction with git, you can limit the amount of commits
-to show both for the log and main view. Either limit by date using
-e.g. `--since=1.month` or limit by the number of commits using `-n400`.
-
-If you are only interested in changed that happened between two dates
-you can use:
-
-       $ tig -- --after="May 5th" --before="2006-05-16 15:44"
-
-NOTE: If you want to avoid having to quote dates containing spaces you
-can use "." instead, e.g. `--after=May.5th`.
-
-Limiting by commit ranges
-~~~~~~~~~~~~~~~~~~~~~~~~~
-Alternatively, commits can be limited to a specific range, such as
-"all commits between 'tag-1.0' and 'tag-2.0'". For example:
-
-       $ tig log tag-1.0..tag-2.0
-
-This way of commit limiting makes it trivial to only browse the commits
-which haven't been pushed to a remote branch. Assuming 'origin' is your
-upstream remote branch, using:
-
-       $ tig log origin..HEAD
-
-will list what will be pushed to the remote branch. Optionally, the ending
-'HEAD' can be left out since it is implied.
-
-Limiting by reachability
-~~~~~~~~~~~~~~~~~~~~~~~~
-Git interprets the range specifier "tag-1.0..tag-2.0" as
-"all commits reachable from 'tag-2.0' but not from 'tag-1.0'".
-Where reachability refers to what commits are ancestors (or part of the
-history) of the branch or tagged revision in question.
-
-If you prefer to specify which commit to preview in this way use the
-following:
-
-       $ tig log tag-2.0 ^tag-1.0
-
-You can think of '^' as a negation operator. Using this alternate syntax,
-it is possible to further prune commits by specifying multiple branch
-cut offs.
-
-Combining revisions specification
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Revisions options can to some degree be combined, which makes it possible
-to say "show at most 20 commits from within the last month that changed
-files under the Documentation/ directory."
-
-       $ tig -- --since=1.month -n20 -- Documentation/
-
-Examining all repository references
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-In some cases, it can be useful to query changes across all references
-in a repository. An example is to ask "did any line of development in
-this repository change a particular file within the last week". This
-can be accomplished using:
-
-       $ tig -- --all --since=1.week -- Makefile
-
-BUGS
-----
-Known bugs and problems:
-
-- In it's current state tig is pretty much UTF-8 only.
-
-- 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.
-
-TODO
-----
-Features that should be explored.
-
-- Searching.
-
-- Locale support.
+include::BUGS[]
 
 COPYRIGHT
 ---------
-Copyright (c) Jonas Fonseca <fonseca@diku.dk>, 2006
+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
@@ -428,10 +115,16 @@ the Free Software Foundation; either version 2 of the License, or
 
 SEE ALSO
 --------
-[verse]
-link:http://www.kernel.org/pub/software/scm/git/docs/[git(7)],
-link:http://www.kernel.org/pub/software/scm/cogito/docs/[cogito(7)]
-gitk(1): git repository browser written using tcl/tk,
-qgit(1): git repository browser written using c++/Qt,
-gitview(1): git repository browser written using python/gtk.
+- 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)
+
+Sites:
+
+include::SITES[]
 
diff --git a/tigrc.5 b/tigrc.5
new file mode 100644 (file)
index 0000000..25d1ce8
--- /dev/null
+++ b/tigrc.5
@@ -0,0 +1,133 @@
+.\"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
+\fIcolor\fR \fIfgcolor\fR \fIbgcolor\fR \fI[attributes]\fR
+.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), or semi\-colon (\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 "COLOR OPTIONS"
+
+
+Color options control highlighting and the user interface styles\&. If your terminal supports color, these commands can be used to assign foreground/backgound 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
+
+
+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\&.
+
+
+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\&.
+
+
+Valid area names are described below\&. Note, all names are case\-insensitive, and you may use \fI\-\fR, \fI_\fR, and \fI\&.\fR interchangeably\&. So "Diff\-Header", "DIFF_HEADER", and "diff\&.header" are the same\&.
+
+.SS "Diff markup"
+
+
+Options concerning diff start, chunks and lines added and deleted\&.
+
+
+\fIdiff\-header\fR, \fIdiff\-chunk\fR, \fIdiff\-add\fR, \fIdiff\-del\fR
+
+.SS "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
+
+.SS "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 comitter date\&.
+
+
+\fIpp\-author\fR, \fIpp\-commit\fR, \fIpp\-merge\fR, \fIpp\-date\fR, \fIpp\-adate\fR, \fIpp\-cdate\fR
+
+.SS "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
+
+.SS "Commit message"
+
+
+For now only Signed\-off\-by lines are colorized\&.
+
+
+\fIsignoff\fR
+
+.SS "UI colors"
+
+
+Colors for text not matching any of the above: \fIdefault\fR
+
+
+Status window colors: \fIstatus\fR
+
+
+Title window colors: \fItitle\-blur\fR, \fItitle\-focus\fR
+
+
+Cursor line colors: \fIcursor\fR
+
+
+Main view specific: \fImain\-date\fR, \fImain\-author\fR, \fImain\-commit\fR, \fImain\-delim\fR, \fImain\-tag\fR, \fImain\-ref\fR
+
+.SH "EXAMPLES"
+
+
+Some sample options:
+
+.IP
+
+.nf
+# Diff colors
+color diff\-header       yellow  default
+color diff\-index        blue    default
+color diff\-chunk        magenta default
+# UI colors
+color title\-blur        white   blue
+color title\-focus       white   blue    bold
+.fi
+
+.SH "SEE ALSO"
+
+
+tig(1)
+
diff --git a/tigrc.5.html b/tigrc.5.html
new file mode 100644 (file)
index 0000000..493ad53
--- /dev/null
@@ -0,0 +1,359 @@
+<!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>color</strong> <em>fgcolor</em> <em>bgcolor</em> <em>[attributes]</em></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.\r
+The file consists of a series of <em>commands</em>.  Each\r
+line of the file may contain only one command.</p>\r
+<p>The hash mark (<em>#</em>), or semi-colon (<em>;</em>) is used as a <em>comment</em> character.\r
+All text after the comment character to the end of the line is ignored.\r
+You can use comments to annotate your initialization file.</p>\r
+</div>\r
+<h2>Color options</h2>\r
+<div class="sectionbody">\r
+<p>Color options control highlighting and the user interface styles.\r
+If  your terminal supports color, these commands can be used to assign\r
+foreground/backgound combinations to certain areas. Optionally, an\r
+attribute can be given 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>Valid colors include: <strong>white</strong>, <strong>black</strong>, <strong>green</strong>, <strong>magenta</strong>, <strong>blue</strong>, <strong>cyan</strong>,\r
+<strong>yellow</strong>, <strong>red</strong>, <strong>default</strong>. Use <strong>default</strong> to refer to the default terminal\r
+colors.</p>\r
+<p>Valid attributes include: <strong>normal</strong>, <strong>blink</strong>, <strong>bold</strong>, <strong>dim</strong>, <strong>reverse</strong>, <strong>standout</strong>,\r
+and <strong>underline</strong>. Note, not all attributes may be supported by the terminal.</p>\r
+<p>Valid area names are described below. Note, all names are case-insensitive,\r
+and you may use <em>-</em>, <em>_</em>, and <em>.</em> interchangeably. So "Diff-Header",\r
+"DIFF_HEADER", and "diff.header" are the same.</p>\r
+<h3>Diff markup</h3>\r
+<p>Options concerning diff start, chunks and lines added and deleted.</p>\r
+<p><strong>diff-header</strong>, <strong>diff-chunk</strong>, <strong>diff-add</strong>, <strong>diff-del</strong></p>\r
+<h3>Enhanced git diff markup</h3>\r
+<p>Extra diff information emitted by the git diff machinery, such as mode\r
+changes, rename detection, and similarity.</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
+<h3>Pretty print commit headers</h3>\r
+<p>Commit diffs and the revision logs are usually formatted using pretty\r
+printed headers , unless <tt>--pretty=raw</tt> was given. This includes lines,\r
+such as merge info, commit ID, and author and comitter date.</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
+<h3>Raw commit header</h3>\r
+<p>Usually shown when <tt>--pretty=raw</tt> is given, however <em>commit</em> is pretty\r
+much omnipresent.</p>\r
+<p><strong>commit</strong>, <strong>parent</strong>, <strong>tree</strong>, <strong>author</strong>, <strong>committer</strong></p>\r
+<h3>Commit message</h3>\r
+<p>For now only <tt>Signed-off-by lines</tt> are colorized.</p>\r
+<p><strong>signoff</strong></p>\r
+<h3>UI colors</h3>\r
+<p>Colors for text not matching any of the above: <strong>default</strong></p>\r
+<p>Status window colors: <strong>status</strong></p>\r
+<p>Title window colors: <strong>title-blur</strong>, <strong>title-focus</strong></p>\r
+<p>Cursor line colors: <strong>cursor</strong></p>\r
+<p>Main view specific: <strong>main-date</strong>, <strong>main-author</strong>, <strong>main-commit</strong>, <strong>main-delim</strong>,\r
+<strong>main-tag</strong>, <strong>main-ref</strong></p>\r
+</div>\r
+<h2>EXAMPLES</h2>\r
+<div class="sectionbody">\r
+<p>Some sample options:</p>\r
+<div class="exampleblock">\r
+<div class="exampleblock-content">\r
+<div class="literalblock">\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
+# UI colors\r
+color title-blur        white   blue\r
+color title-focus       white   blue    bold</tt></pre>\r
+</div></div>\r
+</div></div>\r
+</div>\r
+<h2>SEE ALSO</h2>\r
+<div class="sectionbody">\r
+<p>tig(1)</p>\r
+</div>\r
+<div id="footer">\r
+<div id="footer-text">\r
+Last updated 29-May-2006 21:46:30 CEST\r
+</div>\r
+</div>\r
+</body>\r
+</html>\r