Blame


1 8797b228 2019-08-04 stsp <!DOCTYPE html>
2 8797b228 2019-08-04 stsp <html>
3 8797b228 2019-08-04 stsp <!-- This is an automatically generated file. Do not edit.
4 8797b228 2019-08-04 stsp Copyright (c) 2018 Stefan Sperling
5 8797b228 2019-08-04 stsp
6 8797b228 2019-08-04 stsp Permission to use, copy, modify, and distribute this software for any
7 8797b228 2019-08-04 stsp purpose with or without fee is hereby granted, provided that the above
8 8797b228 2019-08-04 stsp copyright notice and this permission notice appear in all copies.
9 8797b228 2019-08-04 stsp
10 8797b228 2019-08-04 stsp THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 8797b228 2019-08-04 stsp WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 8797b228 2019-08-04 stsp MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 8797b228 2019-08-04 stsp ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 8797b228 2019-08-04 stsp WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 8797b228 2019-08-04 stsp ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 8797b228 2019-08-04 stsp OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 8797b228 2019-08-04 stsp -->
18 8797b228 2019-08-04 stsp <head>
19 8797b228 2019-08-04 stsp <meta charset="utf-8"/>
20 8797b228 2019-08-04 stsp <style>
21 8797b228 2019-08-04 stsp table.head, table.foot { width: 100%; }
22 8797b228 2019-08-04 stsp td.head-rtitle, td.foot-os { text-align: right; }
23 8797b228 2019-08-04 stsp td.head-vol { text-align: center; }
24 d8e62599 2019-10-21 stsp .Nd, .Bf, .Op { display: inline; }
25 d8e62599 2019-10-21 stsp .Pa, .Ad { font-style: italic; }
26 d8e62599 2019-10-21 stsp .Ms { font-weight: bold; }
27 d8e62599 2019-10-21 stsp .Bl-diag > dt { font-weight: bold; }
28 d8e62599 2019-10-21 stsp code.Nm, .Fl, .Cm, .Ic, code.In, .Fd, .Fn, .Cd { font-weight: bold;
29 d8e62599 2019-10-21 stsp font-family: inherit; }
30 8797b228 2019-08-04 stsp </style>
31 8797b228 2019-08-04 stsp <title>TOG(1)</title>
32 8797b228 2019-08-04 stsp </head>
33 8797b228 2019-08-04 stsp <body>
34 8797b228 2019-08-04 stsp <table class="head">
35 8797b228 2019-08-04 stsp <tr>
36 8797b228 2019-08-04 stsp <td class="head-ltitle">TOG(1)</td>
37 8797b228 2019-08-04 stsp <td class="head-vol">General Commands Manual</td>
38 8797b228 2019-08-04 stsp <td class="head-rtitle">TOG(1)</td>
39 8797b228 2019-08-04 stsp </tr>
40 8797b228 2019-08-04 stsp </table>
41 8797b228 2019-08-04 stsp <div class="manual-text">
42 8797b228 2019-08-04 stsp <section class="Sh">
43 8797b228 2019-08-04 stsp <h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
44 d8e62599 2019-10-21 stsp <p class="Pp"><code class="Nm">tog</code> &#x2014; <span class="Nd">Git
45 d8e62599 2019-10-21 stsp repository browser</span></p>
46 8797b228 2019-08-04 stsp </section>
47 8797b228 2019-08-04 stsp <section class="Sh">
48 8797b228 2019-08-04 stsp <h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
49 8797b228 2019-08-04 stsp <table class="Nm">
50 8797b228 2019-08-04 stsp <tr>
51 8797b228 2019-08-04 stsp <td><code class="Nm">tog</code></td>
52 ae803b74 2020-03-06 stsp <td>[<var class="Ar">command</var>] [<code class="Fl">-h</code>]
53 8797b228 2019-08-04 stsp [<var class="Ar">arg ...</var>]</td>
54 8797b228 2019-08-04 stsp </tr>
55 8797b228 2019-08-04 stsp </table>
56 ae803b74 2020-03-06 stsp <p class="Pp"></p>
57 ae803b74 2020-03-06 stsp <br/>
58 ae803b74 2020-03-06 stsp <table class="Nm">
59 ae803b74 2020-03-06 stsp <tr>
60 ae803b74 2020-03-06 stsp <td><code class="Nm">tog</code></td>
61 ae803b74 2020-03-06 stsp <td><var class="Ar">path</var></td>
62 ae803b74 2020-03-06 stsp </tr>
63 ae803b74 2020-03-06 stsp </table>
64 8797b228 2019-08-04 stsp </section>
65 8797b228 2019-08-04 stsp <section class="Sh">
66 8797b228 2019-08-04 stsp <h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
67 d8e62599 2019-10-21 stsp <p class="Pp"><code class="Nm">tog</code> is an interactive read-only browser
68 d8e62599 2019-10-21 stsp for Git repositories. This repository format is described in
69 d8e62599 2019-10-21 stsp <a class="Xr">git-repository(5)</a>.</p>
70 8797b228 2019-08-04 stsp <p class="Pp"><code class="Nm">tog</code> supports several types of views which
71 8797b228 2019-08-04 stsp display repository data:</p>
72 8797b228 2019-08-04 stsp <dl class="Bl-tag">
73 8797b228 2019-08-04 stsp <dt>Log view</dt>
74 8797b228 2019-08-04 stsp <dd>Displays commits in the repository's history. This view is displayed
75 ae803b74 2020-03-06 stsp initially if no <var class="Ar">command</var> is specified, or if just a
76 ae803b74 2020-03-06 stsp <var class="Ar">path</var> is specified.</dd>
77 8797b228 2019-08-04 stsp <dt>Diff view</dt>
78 8797b228 2019-08-04 stsp <dd>Displays changes made in a particular commit.</dd>
79 8797b228 2019-08-04 stsp <dt>Blame view</dt>
80 8797b228 2019-08-04 stsp <dd>Displays the line-by-line history of a file.</dd>
81 8797b228 2019-08-04 stsp <dt>Tree view</dt>
82 8797b228 2019-08-04 stsp <dd>Displays the tree corresponding to a particular commit.</dd>
83 1b792db0 2020-12-13 stsp <dt>Ref view</dt>
84 1b792db0 2020-12-13 stsp <dd>Displays references in the repository.</dd>
85 8797b228 2019-08-04 stsp </dl>
86 8797b228 2019-08-04 stsp <p class="Pp"><code class="Nm">tog</code> provides global and command-specific
87 8797b228 2019-08-04 stsp key bindings and options. The global key bindings are:</p>
88 8797b228 2019-08-04 stsp <dl class="Bl-tag">
89 2dbbbc3a 2020-07-23 stsp <dt id="Q"><a class="permalink" href="#Q"><code class="Cm">Q</code></a></dt>
90 8797b228 2019-08-04 stsp <dd>Quit <code class="Nm">tog</code>.</dd>
91 2dbbbc3a 2020-07-23 stsp <dt id="q"><a class="permalink" href="#q"><code class="Cm">q</code></a></dt>
92 8797b228 2019-08-04 stsp <dd>Quit the view which is in focus.</dd>
93 2dbbbc3a 2020-07-23 stsp <dt id="Tab"><a class="permalink" href="#Tab"><code class="Cm">Tab</code></a></dt>
94 8797b228 2019-08-04 stsp <dd>Switch focus between views.</dd>
95 2dbbbc3a 2020-07-23 stsp <dt id="f"><a class="permalink" href="#f"><code class="Cm">f</code></a></dt>
96 8797b228 2019-08-04 stsp <dd>Toggle fullscreen mode for a split-screen view.
97 8797b228 2019-08-04 stsp <code class="Nm">tog</code> will automatically use split-screen views if
98 8797b228 2019-08-04 stsp the size of the terminal window is sufficiently large.</dd>
99 8797b228 2019-08-04 stsp </dl>
100 8797b228 2019-08-04 stsp <p class="Pp">Global options must precede the command name, and are as
101 8797b228 2019-08-04 stsp follows:</p>
102 8797b228 2019-08-04 stsp <dl class="Bl-tag">
103 2dbbbc3a 2020-07-23 stsp <dt id="h"><a class="permalink" href="#h"><code class="Fl">-h</code></a></dt>
104 8797b228 2019-08-04 stsp <dd>Display usage information.</dd>
105 2dbbbc3a 2020-07-23 stsp <dt id="V,"><a class="permalink" href="#V,"><code class="Fl">-V,</code></a>
106 8b679b4b 2020-02-17 stsp <code class="Fl">--version</code></dt>
107 8797b228 2019-08-04 stsp <dd>Display program version and exit immediately.</dd>
108 8797b228 2019-08-04 stsp </dl>
109 8797b228 2019-08-04 stsp <p class="Pp">The commands for <code class="Nm">tog</code> are as follows:</p>
110 8797b228 2019-08-04 stsp <dl class="Bl-tag">
111 2dbbbc3a 2020-07-23 stsp <dt id="log"><a class="permalink" href="#log"><code class="Cm">log</code></a>
112 8b679b4b 2020-02-17 stsp [<code class="Fl">-b</code>] [<code class="Fl">-c</code>
113 8b679b4b 2020-02-17 stsp <var class="Ar">commit</var>] [<code class="Fl">-r</code>
114 8b679b4b 2020-02-17 stsp <var class="Ar">repository-path</var>] [<var class="Ar">path</var>]</dt>
115 8797b228 2019-08-04 stsp <dd>Display history of a repository. If a <var class="Ar">path</var> is
116 7c3b4ab8 2020-02-25 stsp specified, show only commits which modified this path. If invoked in a
117 7c3b4ab8 2020-02-25 stsp work tree, the <var class="Ar">path</var> is interpreted relative to the
118 7c3b4ab8 2020-02-25 stsp current working directory, and the work tree's path prefix is implicitly
119 7c3b4ab8 2020-02-25 stsp prepended. Otherwise, the path is interpreted relative to the repository
120 7c3b4ab8 2020-02-25 stsp root.
121 8797b228 2019-08-04 stsp <p class="Pp">This command is also executed if no explicit command is
122 8797b228 2019-08-04 stsp specified.</p>
123 8797b228 2019-08-04 stsp <p class="Pp">The key bindings for <code class="Cm">tog log</code> are as
124 8797b228 2019-08-04 stsp follows:</p>
125 8797b228 2019-08-04 stsp <dl class="Bl-tag">
126 2dbbbc3a 2020-07-23 stsp <dt id="Down-arrow,"><a class="permalink" href="#Down-arrow,"><code class="Cm">Down-arrow,
127 8797b228 2019-08-04 stsp j, &gt;, Full stop</code></a></dt>
128 8797b228 2019-08-04 stsp <dd>Move the selection cursor down.</dd>
129 2dbbbc3a 2020-07-23 stsp <dt id="Up-arrow,"><a class="permalink" href="#Up-arrow,"><code class="Cm">Up-arrow,
130 8797b228 2019-08-04 stsp k, &lt;, Comma</code></a></dt>
131 8797b228 2019-08-04 stsp <dd>Move the selection cursor up.</dd>
132 2dbbbc3a 2020-07-23 stsp <dt id="Page-down,"><a class="permalink" href="#Page-down,"><code class="Cm">Page-down,
133 8797b228 2019-08-04 stsp Ctrl+f</code></a></dt>
134 8797b228 2019-08-04 stsp <dd>Move the selection cursor down one page.</dd>
135 2dbbbc3a 2020-07-23 stsp <dt id="Page-up,"><a class="permalink" href="#Page-up,"><code class="Cm">Page-up,
136 8797b228 2019-08-04 stsp Ctrl+b</code></a></dt>
137 8797b228 2019-08-04 stsp <dd>Move the selection cursor up one page.</dd>
138 2dbbbc3a 2020-07-23 stsp <dt id="Enter,"><a class="permalink" href="#Enter,"><code class="Cm">Enter,
139 8797b228 2019-08-04 stsp Space</code></a></dt>
140 8797b228 2019-08-04 stsp <dd>Open a <code class="Cm">diff</code> view showing file changes made in
141 8797b228 2019-08-04 stsp the currently selected commit.</dd>
142 2dbbbc3a 2020-07-23 stsp <dt id="t"><a class="permalink" href="#t"><code class="Cm">t</code></a></dt>
143 8797b228 2019-08-04 stsp <dd>Open a <code class="Cm">tree</code> view showing the tree for the
144 8797b228 2019-08-04 stsp currently selected commit.</dd>
145 2dbbbc3a 2020-07-23 stsp <dt id="Backspace"><a class="permalink" href="#Backspace"><code class="Cm">Backspace</code></a></dt>
146 8797b228 2019-08-04 stsp <dd>Show log entries for the parent directory of the currently selected
147 8797b228 2019-08-04 stsp path, unless an active search is in progress in which case
148 8797b228 2019-08-04 stsp <code class="Cm">Backspace</code> aborts the search.</dd>
149 2dbbbc3a 2020-07-23 stsp <dt id="/"><a class="permalink" href="#/"><code class="Cm">/</code></a></dt>
150 8797b228 2019-08-04 stsp <dd>Prompt for a search pattern and start searching for matching commits.
151 8797b228 2019-08-04 stsp The search pattern is an extended regular expression which is matched
152 8797b228 2019-08-04 stsp against a commit's author name, committer name, log message, and
153 8797b228 2019-08-04 stsp commit ID SHA1 hash. Regular expression syntax is documented in
154 8797b228 2019-08-04 stsp <a class="Xr">re_format(7)</a>.</dd>
155 2dbbbc3a 2020-07-23 stsp <dt id="n"><a class="permalink" href="#n"><code class="Cm">n</code></a></dt>
156 8797b228 2019-08-04 stsp <dd>Find the next commit which matches the current search pattern.
157 8797b228 2019-08-04 stsp Searching continues until either a match is found or the
158 8797b228 2019-08-04 stsp <code class="Cm">Backspace</code> key is pressed.</dd>
159 2dbbbc3a 2020-07-23 stsp <dt id="N"><a class="permalink" href="#N"><code class="Cm">N</code></a></dt>
160 8797b228 2019-08-04 stsp <dd>Find the previous commit which matches the current search pattern.
161 8797b228 2019-08-04 stsp Searching continues until either a match is found or the
162 8797b228 2019-08-04 stsp <code class="Cm">Backspace</code> key is pressed.</dd>
163 2dbbbc3a 2020-07-23 stsp <dt id="Ctrl+l"><a class="permalink" href="#Ctrl+l"><code class="Cm">Ctrl+l</code></a></dt>
164 1b792db0 2020-12-13 stsp <dd>Reload the <code class="Cm">log</code> view with new commits found in
165 1b792db0 2020-12-13 stsp the repository.</dd>
166 2dbbbc3a 2020-07-23 stsp <dt id="B"><a class="permalink" href="#B"><code class="Cm">B</code></a></dt>
167 1b792db0 2020-12-13 stsp <dd>Reload the <code class="Cm">log</code> view and toggle display of
168 1b792db0 2020-12-13 stsp merged commits. The <code class="Fl">-b</code> option determines
169 1b792db0 2020-12-13 stsp whether merged commits are displayed initially.</dd>
170 1b792db0 2020-12-13 stsp <dt id="r"><a class="permalink" href="#r"><code class="Cm">r</code></a></dt>
171 1b792db0 2020-12-13 stsp <dd>Open a <code class="Cm">ref</code> view listing all references in the
172 1b792db0 2020-12-13 stsp repository. This can then be used to open a new
173 1b792db0 2020-12-13 stsp <code class="Cm">log</code> view for arbitrary branches and tags.</dd>
174 8797b228 2019-08-04 stsp </dl>
175 8797b228 2019-08-04 stsp <p class="Pp">The options for <code class="Cm">tog log</code> are as
176 8797b228 2019-08-04 stsp follows:</p>
177 8797b228 2019-08-04 stsp <dl class="Bl-tag">
178 2dbbbc3a 2020-07-23 stsp <dt id="b"><a class="permalink" href="#b"><code class="Fl">-b</code></a></dt>
179 8b679b4b 2020-02-17 stsp <dd>Display individual commits which were merged into the current branch
180 8b679b4b 2020-02-17 stsp from other branches. By default, <code class="Cm">tog log</code> shows
181 8b679b4b 2020-02-17 stsp the linear history of the current branch only. The
182 8b679b4b 2020-02-17 stsp <code class="Cm">B</code> key binding can be used to toggle display of
183 8b679b4b 2020-02-17 stsp merged commits at run-time.</dd>
184 2dbbbc3a 2020-07-23 stsp <dt id="c"><a class="permalink" href="#c"><code class="Fl">-c</code></a>
185 8797b228 2019-08-04 stsp <var class="Ar">commit</var></dt>
186 8797b228 2019-08-04 stsp <dd>Start traversing history at the specified
187 8797b228 2019-08-04 stsp <var class="Ar">commit</var>. The expected argument is the name of a
188 8797b228 2019-08-04 stsp branch or a commit ID SHA1 hash. An abbreviated hash argument will be
189 8797b228 2019-08-04 stsp expanded to a full SHA1 hash automatically, provided the abbreviation
190 8797b228 2019-08-04 stsp is unique. If this option is not specified, default to the work tree's
191 8797b228 2019-08-04 stsp current branch if invoked in a work tree, or to the repository's HEAD
192 8797b228 2019-08-04 stsp reference.</dd>
193 1b792db0 2020-12-13 stsp <dt id="r~2"><a class="permalink" href="#r~2"><code class="Fl">-r</code></a>
194 8797b228 2019-08-04 stsp <var class="Ar">repository-path</var></dt>
195 8797b228 2019-08-04 stsp <dd>Use the repository at the specified path. If not specified, assume the
196 7c3b4ab8 2020-02-25 stsp repository is located at or above the current working directory. If
197 7c3b4ab8 2020-02-25 stsp this directory is a <a class="Xr">got(1)</a> work tree, use the
198 7c3b4ab8 2020-02-25 stsp repository path associated with this work tree.</dd>
199 8797b228 2019-08-04 stsp </dl>
200 8797b228 2019-08-04 stsp </dd>
201 2dbbbc3a 2020-07-23 stsp <dt id="diff"><a class="permalink" href="#diff"><code class="Cm">diff</code></a>
202 1b792db0 2020-12-13 stsp [<code class="Fl">-a</code>] [<code class="Fl">-C</code>
203 1b792db0 2020-12-13 stsp <var class="Ar">number</var>] [<code class="Fl">-r</code>
204 1b792db0 2020-12-13 stsp <var class="Ar">repository-path</var>] [<code class="Fl">-w</code>]
205 1b792db0 2020-12-13 stsp <var class="Ar">object1</var> <var class="Ar">object2</var></dt>
206 1b792db0 2020-12-13 stsp <dd>Display the differences between two objects in the repository. Treat each
207 1b792db0 2020-12-13 stsp of the two arguments as a reference, a tag name, or an object ID SHA1
208 1b792db0 2020-12-13 stsp hash, and display differences between the corresponding objects. Both
209 1b792db0 2020-12-13 stsp objects must be of the same type (blobs, trees, or commits). An
210 8797b228 2019-08-04 stsp abbreviated hash argument will be expanded to a full SHA1 hash
211 1b792db0 2020-12-13 stsp automatically, provided the abbreviation is unique.
212 8797b228 2019-08-04 stsp <p class="Pp">The key bindings for <code class="Cm">tog diff</code> are as
213 8797b228 2019-08-04 stsp follows:</p>
214 8797b228 2019-08-04 stsp <dl class="Bl-tag">
215 1b792db0 2020-12-13 stsp <dt id="a"><a class="permalink" href="#a"><code class="Cm">a</code></a></dt>
216 1b792db0 2020-12-13 stsp <dd>Toggle treatment of file contents as ASCII text even if binary data
217 1b792db0 2020-12-13 stsp was detected.</dd>
218 2dbbbc3a 2020-07-23 stsp <dt id="Down-arrow,~2"><a class="permalink" href="#Down-arrow,~2"><code class="Cm">Down-arrow,
219 8797b228 2019-08-04 stsp j</code></a></dt>
220 8797b228 2019-08-04 stsp <dd>Scroll down.</dd>
221 2dbbbc3a 2020-07-23 stsp <dt id="Up-arrow,~2"><a class="permalink" href="#Up-arrow,~2"><code class="Cm">Up-arrow,
222 8797b228 2019-08-04 stsp k</code></a></dt>
223 8797b228 2019-08-04 stsp <dd>Scroll up.</dd>
224 2dbbbc3a 2020-07-23 stsp <dt id="Page-down,~2"><a class="permalink" href="#Page-down,~2"><code class="Cm">Page-down,
225 8797b228 2019-08-04 stsp Space, Ctrl+f</code></a></dt>
226 8797b228 2019-08-04 stsp <dd>Scroll down one page.</dd>
227 2dbbbc3a 2020-07-23 stsp <dt id="Page-up,~2"><a class="permalink" href="#Page-up,~2"><code class="Cm">Page-up,
228 8797b228 2019-08-04 stsp Ctrl+b</code></a></dt>
229 8797b228 2019-08-04 stsp <dd>Scroll up one page.</dd>
230 2dbbbc3a 2020-07-23 stsp <dt id="_"><a class="permalink" href="#_"><code class="Cm">[</code></a></dt>
231 8797b228 2019-08-04 stsp <dd>Reduce the amount of diff context lines.</dd>
232 2dbbbc3a 2020-07-23 stsp <dt id="_~2"><a class="permalink" href="#_~2"><code class="Cm">]</code></a></dt>
233 8797b228 2019-08-04 stsp <dd>Increase the amount of diff context lines.</dd>
234 2dbbbc3a 2020-07-23 stsp <dt id="_,"><a class="permalink" href="#_,"><code class="Cm">&lt;,
235 8797b228 2019-08-04 stsp Comma</code></a></dt>
236 1b792db0 2020-12-13 stsp <dd>If the <code class="Cm">diff</code> view was opened via the
237 1b792db0 2020-12-13 stsp <code class="Cm">log</code> view, move to the previous (younger)
238 1b792db0 2020-12-13 stsp commit.</dd>
239 2dbbbc3a 2020-07-23 stsp <dt id="_,~2"><a class="permalink" href="#_,~2"><code class="Cm">&gt;,
240 8797b228 2019-08-04 stsp Full stop</code></a></dt>
241 1b792db0 2020-12-13 stsp <dd>If the <code class="Cm">diff</code> view was opened via the
242 1b792db0 2020-12-13 stsp <code class="Cm">log</code> view, move to the next (older)
243 1b792db0 2020-12-13 stsp commit.</dd>
244 2dbbbc3a 2020-07-23 stsp <dt id="/~2"><a class="permalink" href="#/~2"><code class="Cm">/</code></a></dt>
245 f2e17eed 2020-11-14 stsp <dd>Prompt for a search pattern and start searching for matching lines.
246 f2e17eed 2020-11-14 stsp The search pattern is an extended regular expression. Regular
247 f2e17eed 2020-11-14 stsp expression syntax is documented in
248 f2e17eed 2020-11-14 stsp <a class="Xr">re_format(7)</a>.</dd>
249 2dbbbc3a 2020-07-23 stsp <dt id="n~2"><a class="permalink" href="#n~2"><code class="Cm">n</code></a></dt>
250 8b679b4b 2020-02-17 stsp <dd>Find the next line which matches the current search pattern.</dd>
251 2dbbbc3a 2020-07-23 stsp <dt id="N~2"><a class="permalink" href="#N~2"><code class="Cm">N</code></a></dt>
252 8b679b4b 2020-02-17 stsp <dd>Find the previous line which matches the current search pattern.</dd>
253 1b792db0 2020-12-13 stsp <dt id="w"><a class="permalink" href="#w"><code class="Cm">w</code></a></dt>
254 1b792db0 2020-12-13 stsp <dd>Toggle display of whitespace-only changes.</dd>
255 8797b228 2019-08-04 stsp </dl>
256 7c3b4ab8 2020-02-25 stsp <p class="Pp">The options for <code class="Cm">tog diff</code> are as
257 7c3b4ab8 2020-02-25 stsp follows:</p>
258 7c3b4ab8 2020-02-25 stsp <dl class="Bl-tag">
259 1b792db0 2020-12-13 stsp <dt id="a~2"><a class="permalink" href="#a~2"><code class="Fl">-a</code></a></dt>
260 1b792db0 2020-12-13 stsp <dd>Treat file contents as ASCII text even if binary data is
261 1b792db0 2020-12-13 stsp detected.</dd>
262 1b792db0 2020-12-13 stsp <dt id="C"><a class="permalink" href="#C"><code class="Fl">-C</code></a>
263 1b792db0 2020-12-13 stsp <var class="Ar">number</var></dt>
264 1b792db0 2020-12-13 stsp <dd>Set the number of context lines shown in the diff. By default, 3 lines
265 1b792db0 2020-12-13 stsp of context are shown.</dd>
266 1b792db0 2020-12-13 stsp <dt id="r~3"><a class="permalink" href="#r~3"><code class="Fl">-r</code></a>
267 7c3b4ab8 2020-02-25 stsp <var class="Ar">repository-path</var></dt>
268 7c3b4ab8 2020-02-25 stsp <dd>Use the repository at the specified path. If not specified, assume the
269 7c3b4ab8 2020-02-25 stsp repository is located at or above the current working directory. If
270 7c3b4ab8 2020-02-25 stsp this directory is a <a class="Xr">got(1)</a> work tree, use the
271 7c3b4ab8 2020-02-25 stsp repository path associated with this work tree.</dd>
272 1b792db0 2020-12-13 stsp <dt id="w~2"><a class="permalink" href="#w~2"><code class="Fl">-w</code></a></dt>
273 1b792db0 2020-12-13 stsp <dd>Ignore whitespace-only changes.</dd>
274 7c3b4ab8 2020-02-25 stsp </dl>
275 8797b228 2019-08-04 stsp </dd>
276 2dbbbc3a 2020-07-23 stsp <dt id="blame"><a class="permalink" href="#blame"><code class="Cm">blame</code></a>
277 8797b228 2019-08-04 stsp [<code class="Fl">-c</code> <var class="Ar">commit</var>]
278 8797b228 2019-08-04 stsp [<code class="Fl">-r</code> <var class="Ar">repository-path</var>]
279 8797b228 2019-08-04 stsp <var class="Ar">path</var></dt>
280 8797b228 2019-08-04 stsp <dd>Display line-by-line history of a file at the specified path.
281 8797b228 2019-08-04 stsp <p class="Pp">The key bindings for <code class="Cm">tog blame</code> are as
282 8797b228 2019-08-04 stsp follows:</p>
283 8797b228 2019-08-04 stsp <dl class="Bl-tag">
284 2dbbbc3a 2020-07-23 stsp <dt id="Down-arrow,~3"><a class="permalink" href="#Down-arrow,~3"><code class="Cm">Down-arrow,
285 7c3b4ab8 2020-02-25 stsp j</code></a></dt>
286 8797b228 2019-08-04 stsp <dd>Move the selection cursor down.</dd>
287 2dbbbc3a 2020-07-23 stsp <dt id="Up-arrow,~3"><a class="permalink" href="#Up-arrow,~3"><code class="Cm">Up-arrow,
288 7c3b4ab8 2020-02-25 stsp k</code></a></dt>
289 8797b228 2019-08-04 stsp <dd>Move the selection cursor up.</dd>
290 2dbbbc3a 2020-07-23 stsp <dt id="Page-down,~3"><a class="permalink" href="#Page-down,~3"><code class="Cm">Page-down,
291 7c3b4ab8 2020-02-25 stsp Space, Ctrl+f</code></a></dt>
292 7c3b4ab8 2020-02-25 stsp <dd>Move the selection cursor down one page.</dd>
293 2dbbbc3a 2020-07-23 stsp <dt id="Page-up,~3"><a class="permalink" href="#Page-up,~3"><code class="Cm">Page-up,
294 7c3b4ab8 2020-02-25 stsp Ctrl+b</code></a></dt>
295 7c3b4ab8 2020-02-25 stsp <dd>Move the selection cursor up one page.</dd>
296 2dbbbc3a 2020-07-23 stsp <dt id="Enter"><a class="permalink" href="#Enter"><code class="Cm">Enter</code></a></dt>
297 8797b228 2019-08-04 stsp <dd>Open a <code class="Cm">diff</code> view for the currently selected
298 8797b228 2019-08-04 stsp line's commit.</dd>
299 2dbbbc3a 2020-07-23 stsp <dt id="b~2"><a class="permalink" href="#b~2"><code class="Cm">b</code></a></dt>
300 8797b228 2019-08-04 stsp <dd>Reload the <code class="Cm">blame</code> view with the version of the
301 8797b228 2019-08-04 stsp file as found in the currently selected line's commit.</dd>
302 2dbbbc3a 2020-07-23 stsp <dt id="p"><a class="permalink" href="#p"><code class="Cm">p</code></a></dt>
303 8797b228 2019-08-04 stsp <dd>Reload the <code class="Cm">blame</code> view with the version of the
304 8797b228 2019-08-04 stsp file as found in the parent commit of the currently selected line's
305 8797b228 2019-08-04 stsp commit.</dd>
306 2dbbbc3a 2020-07-23 stsp <dt id="B~2"><a class="permalink" href="#B~2"><code class="Cm">B</code></a></dt>
307 8797b228 2019-08-04 stsp <dd>Reload the <code class="Cm">blame</code> view with the previously
308 8797b228 2019-08-04 stsp blamed commit.</dd>
309 2dbbbc3a 2020-07-23 stsp <dt id="/~3"><a class="permalink" href="#/~3"><code class="Cm">/</code></a></dt>
310 f2e17eed 2020-11-14 stsp <dd>Prompt for a search pattern and start searching for matching lines.
311 f2e17eed 2020-11-14 stsp The search pattern is an extended regular expression. Regular
312 f2e17eed 2020-11-14 stsp expression syntax is documented in
313 f2e17eed 2020-11-14 stsp <a class="Xr">re_format(7)</a>.</dd>
314 2dbbbc3a 2020-07-23 stsp <dt id="n~3"><a class="permalink" href="#n~3"><code class="Cm">n</code></a></dt>
315 8797b228 2019-08-04 stsp <dd>Find the next line which matches the current search pattern.</dd>
316 2dbbbc3a 2020-07-23 stsp <dt id="N~3"><a class="permalink" href="#N~3"><code class="Cm">N</code></a></dt>
317 8797b228 2019-08-04 stsp <dd>Find the previous line which matches the current search pattern.</dd>
318 8797b228 2019-08-04 stsp </dl>
319 8797b228 2019-08-04 stsp <p class="Pp">The options for <code class="Cm">tog blame</code> are as
320 8797b228 2019-08-04 stsp follows:</p>
321 8797b228 2019-08-04 stsp <dl class="Bl-tag">
322 2dbbbc3a 2020-07-23 stsp <dt id="c~2"><a class="permalink" href="#c~2"><code class="Fl">-c</code></a>
323 8797b228 2019-08-04 stsp <var class="Ar">commit</var></dt>
324 8797b228 2019-08-04 stsp <dd>Start traversing history at the specified
325 8797b228 2019-08-04 stsp <var class="Ar">commit</var>. The expected argument is the name of a
326 8797b228 2019-08-04 stsp branch or a commit ID SHA1 hash. An abbreviated hash argument will be
327 8797b228 2019-08-04 stsp expanded to a full SHA1 hash automatically, provided the abbreviation
328 8797b228 2019-08-04 stsp is unique.</dd>
329 1b792db0 2020-12-13 stsp <dt id="r~4"><a class="permalink" href="#r~4"><code class="Fl">-r</code></a>
330 8797b228 2019-08-04 stsp <var class="Ar">repository-path</var></dt>
331 8797b228 2019-08-04 stsp <dd>Use the repository at the specified path. If not specified, assume the
332 7c3b4ab8 2020-02-25 stsp repository is located at or above the current working directory. If
333 7c3b4ab8 2020-02-25 stsp this directory is a <a class="Xr">got(1)</a> work tree, use the
334 7c3b4ab8 2020-02-25 stsp repository path associated with this work tree.</dd>
335 8797b228 2019-08-04 stsp </dl>
336 8797b228 2019-08-04 stsp </dd>
337 2dbbbc3a 2020-07-23 stsp <dt id="tree"><a class="permalink" href="#tree"><code class="Cm">tree</code></a>
338 8797b228 2019-08-04 stsp [<code class="Fl">-c</code> <var class="Ar">commit</var>]
339 7c3b4ab8 2020-02-25 stsp [<code class="Fl">-r</code> <var class="Ar">repository-path</var>]
340 7c3b4ab8 2020-02-25 stsp [<var class="Ar">path</var>]</dt>
341 7c3b4ab8 2020-02-25 stsp <dd>Display the repository tree. If a <var class="Ar">path</var> is specified,
342 7c3b4ab8 2020-02-25 stsp show tree entries at this path.
343 e8022e04 2019-08-13 stsp <p class="Pp">Displayed tree entries may carry one of the following trailing
344 e8022e04 2019-08-13 stsp annotations:</p>
345 e8022e04 2019-08-13 stsp <table class="Bl-column">
346 e8022e04 2019-08-13 stsp <tr>
347 e8022e04 2019-08-13 stsp <td>@</td>
348 e8022e04 2019-08-13 stsp <td>entry is a symbolic link</td>
349 e8022e04 2019-08-13 stsp </tr>
350 e8022e04 2019-08-13 stsp <tr>
351 e8022e04 2019-08-13 stsp <td>/</td>
352 e8022e04 2019-08-13 stsp <td>entry is a directory</td>
353 e8022e04 2019-08-13 stsp </tr>
354 e8022e04 2019-08-13 stsp <tr>
355 e8022e04 2019-08-13 stsp <td>*</td>
356 e8022e04 2019-08-13 stsp <td>entry is an executable file</td>
357 ba0a4168 2019-08-26 stsp </tr>
358 ba0a4168 2019-08-26 stsp <tr>
359 ba0a4168 2019-08-26 stsp <td>$</td>
360 ba0a4168 2019-08-26 stsp <td>entry is a Git submodule</td>
361 e8022e04 2019-08-13 stsp </tr>
362 e8022e04 2019-08-13 stsp </table>
363 2dbbbc3a 2020-07-23 stsp <p class="Pp">Symbolic link entries are also annotated with the target path
364 2dbbbc3a 2020-07-23 stsp of the link.</p>
365 8797b228 2019-08-04 stsp <p class="Pp">The key bindings for <code class="Cm">tog tree</code> are as
366 8797b228 2019-08-04 stsp follows:</p>
367 8797b228 2019-08-04 stsp <dl class="Bl-tag">
368 2dbbbc3a 2020-07-23 stsp <dt id="Down-arrow,~4"><a class="permalink" href="#Down-arrow,~4"><code class="Cm">Down-arrow,
369 7c3b4ab8 2020-02-25 stsp j</code></a></dt>
370 8797b228 2019-08-04 stsp <dd>Move the selection cursor down.</dd>
371 2dbbbc3a 2020-07-23 stsp <dt id="Up-arrow,~4"><a class="permalink" href="#Up-arrow,~4"><code class="Cm">Up-arrow,
372 7c3b4ab8 2020-02-25 stsp k</code></a></dt>
373 8797b228 2019-08-04 stsp <dd>Move the selection cursor up.</dd>
374 2dbbbc3a 2020-07-23 stsp <dt id="Page-down,~4"><a class="permalink" href="#Page-down,~4"><code class="Cm">Page-down,
375 7c3b4ab8 2020-02-25 stsp Ctrl+f</code></a></dt>
376 7c3b4ab8 2020-02-25 stsp <dd>Move the selection cursor down one page.</dd>
377 2dbbbc3a 2020-07-23 stsp <dt id="Page-up,~4"><a class="permalink" href="#Page-up,~4"><code class="Cm">Page-up,
378 7c3b4ab8 2020-02-25 stsp Ctrl+b</code></a></dt>
379 7c3b4ab8 2020-02-25 stsp <dd>Move the selection cursor up one page.</dd>
380 2dbbbc3a 2020-07-23 stsp <dt id="Enter~2"><a class="permalink" href="#Enter~2"><code class="Cm">Enter</code></a></dt>
381 8797b228 2019-08-04 stsp <dd>Enter the currently selected directory, or switch to the
382 8797b228 2019-08-04 stsp <code class="Cm">blame</code> view for the currently selected
383 8797b228 2019-08-04 stsp file.</dd>
384 2dbbbc3a 2020-07-23 stsp <dt id="l"><a class="permalink" href="#l"><code class="Cm">l</code></a></dt>
385 8797b228 2019-08-04 stsp <dd>Open a <code class="Cm">log</code> view for the currently selected
386 8797b228 2019-08-04 stsp tree entry.</dd>
387 1b792db0 2020-12-13 stsp <dt id="r~5"><a class="permalink" href="#r~5"><code class="Cm">r</code></a></dt>
388 1b792db0 2020-12-13 stsp <dd>Open a <code class="Cm">ref</code> view listing all references in the
389 1b792db0 2020-12-13 stsp repository. This can then be used to open a new
390 1b792db0 2020-12-13 stsp <code class="Cm">tree</code> view for arbitrary branches and
391 1b792db0 2020-12-13 stsp tags.</dd>
392 2dbbbc3a 2020-07-23 stsp <dt id="Backspace~2"><a class="permalink" href="#Backspace~2"><code class="Cm">Backspace</code></a></dt>
393 8797b228 2019-08-04 stsp <dd>Move back to the parent directory.</dd>
394 2dbbbc3a 2020-07-23 stsp <dt id="i"><a class="permalink" href="#i"><code class="Cm">i</code></a></dt>
395 8797b228 2019-08-04 stsp <dd>Show object IDs for all objects displayed in the
396 8797b228 2019-08-04 stsp <code class="Cm">tree</code> view.</dd>
397 2dbbbc3a 2020-07-23 stsp <dt id="/~4"><a class="permalink" href="#/~4"><code class="Cm">/</code></a></dt>
398 8797b228 2019-08-04 stsp <dd>Prompt for a search pattern and start searching for matching tree
399 8797b228 2019-08-04 stsp entries. The search pattern is an extended regular expression which is
400 8797b228 2019-08-04 stsp matched against the tree entry's name. Regular expression syntax is
401 8797b228 2019-08-04 stsp documented in <a class="Xr">re_format(7)</a>.</dd>
402 2dbbbc3a 2020-07-23 stsp <dt id="n~4"><a class="permalink" href="#n~4"><code class="Cm">n</code></a></dt>
403 8797b228 2019-08-04 stsp <dd>Find the next tree entry which matches the current search
404 8797b228 2019-08-04 stsp pattern.</dd>
405 2dbbbc3a 2020-07-23 stsp <dt id="N~4"><a class="permalink" href="#N~4"><code class="Cm">N</code></a></dt>
406 8797b228 2019-08-04 stsp <dd>Find the previous tree entry which matches the current search
407 8797b228 2019-08-04 stsp pattern.</dd>
408 8797b228 2019-08-04 stsp </dl>
409 8797b228 2019-08-04 stsp <p class="Pp">The options for <code class="Cm">tog tree</code> are as
410 8797b228 2019-08-04 stsp follows:</p>
411 8797b228 2019-08-04 stsp <dl class="Bl-tag">
412 2dbbbc3a 2020-07-23 stsp <dt id="c~3"><a class="permalink" href="#c~3"><code class="Fl">-c</code></a>
413 8797b228 2019-08-04 stsp <var class="Ar">commit</var></dt>
414 8797b228 2019-08-04 stsp <dd>Start traversing history at the specified
415 8797b228 2019-08-04 stsp <var class="Ar">commit</var>. The expected argument is the name of a
416 8797b228 2019-08-04 stsp branch or a commit ID SHA1 hash. An abbreviated hash argument will be
417 8797b228 2019-08-04 stsp expanded to a full SHA1 hash automatically, provided the abbreviation
418 8797b228 2019-08-04 stsp is unique.</dd>
419 1b792db0 2020-12-13 stsp <dt id="r~6"><a class="permalink" href="#r~6"><code class="Fl">-r</code></a>
420 1b792db0 2020-12-13 stsp <var class="Ar">repository-path</var></dt>
421 1b792db0 2020-12-13 stsp <dd>Use the repository at the specified path. If not specified, assume the
422 1b792db0 2020-12-13 stsp repository is located at or above the current working directory. If
423 1b792db0 2020-12-13 stsp this directory is a <a class="Xr">got(1)</a> work tree, use the
424 1b792db0 2020-12-13 stsp repository path associated with this work tree.</dd>
425 1b792db0 2020-12-13 stsp </dl>
426 1b792db0 2020-12-13 stsp </dd>
427 1b792db0 2020-12-13 stsp <dt id="ref"><a class="permalink" href="#ref"><code class="Cm">ref</code></a>
428 1b792db0 2020-12-13 stsp [<code class="Fl">-r</code> <var class="Ar">repository-path</var>]</dt>
429 1b792db0 2020-12-13 stsp <dd>Display references in the repository.
430 1b792db0 2020-12-13 stsp <p class="Pp">The key bindings for <code class="Cm">tog ref</code> are as
431 1b792db0 2020-12-13 stsp follows:</p>
432 1b792db0 2020-12-13 stsp <dl class="Bl-tag">
433 1b792db0 2020-12-13 stsp <dt id="Down-arrow,~5"><a class="permalink" href="#Down-arrow,~5"><code class="Cm">Down-arrow,
434 1b792db0 2020-12-13 stsp j</code></a></dt>
435 1b792db0 2020-12-13 stsp <dd>Move the selection cursor down.</dd>
436 1b792db0 2020-12-13 stsp <dt id="Up-arrow,~5"><a class="permalink" href="#Up-arrow,~5"><code class="Cm">Up-arrow,
437 1b792db0 2020-12-13 stsp k</code></a></dt>
438 1b792db0 2020-12-13 stsp <dd>Move the selection cursor up.</dd>
439 1b792db0 2020-12-13 stsp <dt id="Page-down,~5"><a class="permalink" href="#Page-down,~5"><code class="Cm">Page-down,
440 1b792db0 2020-12-13 stsp Ctrl+f</code></a></dt>
441 1b792db0 2020-12-13 stsp <dd>Move the selection cursor down one page.</dd>
442 1b792db0 2020-12-13 stsp <dt id="Page-up,~5"><a class="permalink" href="#Page-up,~5"><code class="Cm">Page-up,
443 1b792db0 2020-12-13 stsp Ctrl+b</code></a></dt>
444 1b792db0 2020-12-13 stsp <dd>Move the selection cursor up one page.</dd>
445 1b792db0 2020-12-13 stsp <dt id="Enter~3"><a class="permalink" href="#Enter~3"><code class="Cm">Enter</code></a></dt>
446 1b792db0 2020-12-13 stsp <dd>Open a <code class="Cm">log</code> view which begins traversing
447 1b792db0 2020-12-13 stsp history at the commit resolved via the currently selected
448 1b792db0 2020-12-13 stsp reference.</dd>
449 1b792db0 2020-12-13 stsp <dt id="t~2"><a class="permalink" href="#t~2"><code class="Cm">t</code></a></dt>
450 1b792db0 2020-12-13 stsp <dd>Open a <code class="Cm">tree</code> view showing the tree resolved via
451 1b792db0 2020-12-13 stsp the currently selected reference.</dd>
452 1b792db0 2020-12-13 stsp <dt id="i~2"><a class="permalink" href="#i~2"><code class="Cm">i</code></a></dt>
453 1b792db0 2020-12-13 stsp <dd>Show object IDs for all non-symbolic references displayed in the
454 1b792db0 2020-12-13 stsp <code class="Cm">ref</code> view.</dd>
455 1b792db0 2020-12-13 stsp <dt id="/~5"><a class="permalink" href="#/~5"><code class="Cm">/</code></a></dt>
456 1b792db0 2020-12-13 stsp <dd>Prompt for a search pattern and start searching for matching
457 1b792db0 2020-12-13 stsp references. The search pattern is an extended regular expression which
458 1b792db0 2020-12-13 stsp is matched against absolute reference names. Regular expression syntax
459 1b792db0 2020-12-13 stsp is documented in <a class="Xr">re_format(7)</a>.</dd>
460 1b792db0 2020-12-13 stsp <dt id="n~5"><a class="permalink" href="#n~5"><code class="Cm">n</code></a></dt>
461 1b792db0 2020-12-13 stsp <dd>Find the next reference which matches the current search pattern.</dd>
462 1b792db0 2020-12-13 stsp <dt id="N~5"><a class="permalink" href="#N~5"><code class="Cm">N</code></a></dt>
463 1b792db0 2020-12-13 stsp <dd>Find the previous reference which matches the current search
464 1b792db0 2020-12-13 stsp pattern.</dd>
465 1b792db0 2020-12-13 stsp <dt id="Ctrl+l~2"><a class="permalink" href="#Ctrl+l~2"><code class="Cm">Ctrl+l</code></a></dt>
466 1b792db0 2020-12-13 stsp <dd>Reload the list of references displayed by the
467 1b792db0 2020-12-13 stsp <code class="Cm">ref</code> view.</dd>
468 1b792db0 2020-12-13 stsp </dl>
469 1b792db0 2020-12-13 stsp <p class="Pp">The options for <code class="Cm">tog ref</code> are as
470 1b792db0 2020-12-13 stsp follows:</p>
471 1b792db0 2020-12-13 stsp <dl class="Bl-tag">
472 1b792db0 2020-12-13 stsp <dt id="r~7"><a class="permalink" href="#r~7"><code class="Fl">-r</code></a>
473 8b679b4b 2020-02-17 stsp <var class="Ar">repository-path</var></dt>
474 8b679b4b 2020-02-17 stsp <dd>Use the repository at the specified path. If not specified, assume the
475 8b679b4b 2020-02-17 stsp repository is located at or above the current working directory. If
476 8b679b4b 2020-02-17 stsp this directory is a <a class="Xr">got(1)</a> work tree, use the
477 8b679b4b 2020-02-17 stsp repository path associated with this work tree.</dd>
478 8797b228 2019-08-04 stsp </dl>
479 8797b228 2019-08-04 stsp </dd>
480 cc85973b 2019-11-27 stsp </dl>
481 cc85973b 2019-11-27 stsp </section>
482 cc85973b 2019-11-27 stsp <section class="Sh">
483 cc85973b 2019-11-27 stsp <h1 class="Sh" id="ENVIRONMENT"><a class="permalink" href="#ENVIRONMENT">ENVIRONMENT</a></h1>
484 cc85973b 2019-11-27 stsp <dl class="Bl-tag">
485 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLORS"><a class="permalink" href="#TOG_COLORS"><code class="Ev">TOG_COLORS</code></a></dt>
486 cc85973b 2019-11-27 stsp <dd><code class="Nm">tog</code> shows colorized output if this variable is set
487 cc85973b 2019-11-27 stsp to a non-empty value. The default color scheme can be modified by setting
488 cc85973b 2019-11-27 stsp the environment variables documented below. The colors available in color
489 cc85973b 2019-11-27 stsp schemes are &#x201C;black&#x201D;, &#x201C;red&#x201D;,
490 cc85973b 2019-11-27 stsp &#x201C;green&#x201D;, &#x201C;yellow&#x201D;, &#x201C;blue&#x201D;,
491 cc85973b 2019-11-27 stsp &#x201C;megenta&#x201D;, &#x201C;cyan&#x201D;, and &#x201C;default&#x201D;
492 cc85973b 2019-11-27 stsp which maps to the terminal's default foreground color.</dd>
493 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_DIFF_MINUS"><a class="permalink" href="#TOG_COLOR_DIFF_MINUS"><code class="Ev">TOG_COLOR_DIFF_MINUS</code></a></dt>
494 cc85973b 2019-11-27 stsp <dd>The color used to mark up removed lines in diffs. If not set, the default
495 cc85973b 2019-11-27 stsp value &#x201C;magenta&#x201D; is used.</dd>
496 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_DIFF_PLUS"><a class="permalink" href="#TOG_COLOR_DIFF_PLUS"><code class="Ev">TOG_COLOR_DIFF_PLUS</code></a></dt>
497 cc85973b 2019-11-27 stsp <dd>The color used to mark up added lines in diffs. If not set, the default
498 cc85973b 2019-11-27 stsp value &#x201C;cyan&#x201D; is used.</dd>
499 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_DIFF_CHUNK_HEADER"><a class="permalink" href="#TOG_COLOR_DIFF_CHUNK_HEADER"><code class="Ev">TOG_COLOR_DIFF_CHUNK_HEADER</code></a></dt>
500 cc85973b 2019-11-27 stsp <dd>The color used to mark up chunk header lines in diffs. If not set, the
501 cc85973b 2019-11-27 stsp default value &#x201C;yellow&#x201D; is used.</dd>
502 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_DIFF_META"><a class="permalink" href="#TOG_COLOR_DIFF_META"><code class="Ev">TOG_COLOR_DIFF_META</code></a></dt>
503 cc85973b 2019-11-27 stsp <dd>The color used to mark up meta data in diffs. If not set, the default
504 cc85973b 2019-11-27 stsp value &#x201C;green&#x201D; is used.</dd>
505 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_TREE_SUBMODULE"><a class="permalink" href="#TOG_COLOR_TREE_SUBMODULE"><code class="Ev">TOG_COLOR_TREE_SUBMODULE</code></a></dt>
506 cc85973b 2019-11-27 stsp <dd>The color used to mark up sobmodules tree entries. If not set, the default
507 cc85973b 2019-11-27 stsp value &#x201C;magenta&#x201D; is used.</dd>
508 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_TREE_SYMLINK"><a class="permalink" href="#TOG_COLOR_TREE_SYMLINK"><code class="Ev">TOG_COLOR_TREE_SYMLINK</code></a></dt>
509 cc85973b 2019-11-27 stsp <dd>The color used to mark up symbolic link tree entries. If not set, the
510 8b679b4b 2020-02-17 stsp default value &#x201C;magenta&#x201D; is used.</dd>
511 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_TREE_DIRECTORY"><a class="permalink" href="#TOG_COLOR_TREE_DIRECTORY"><code class="Ev">TOG_COLOR_TREE_DIRECTORY</code></a></dt>
512 cc85973b 2019-11-27 stsp <dd>The color used to mark up directory tree entries. If not set, the default
513 8b679b4b 2020-02-17 stsp value &#x201C;cyan&#x201D; is used.</dd>
514 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_TREE_EXECUTABLE"><a class="permalink" href="#TOG_COLOR_TREE_EXECUTABLE"><code class="Ev">TOG_COLOR_TREE_EXECUTABLE</code></a></dt>
515 cc85973b 2019-11-27 stsp <dd>The color used to mark up executable file tree entries. If not set, the
516 cc85973b 2019-11-27 stsp default value &#x201C;green&#x201D; is used.</dd>
517 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_COMMIT"><a class="permalink" href="#TOG_COLOR_COMMIT"><code class="Ev">TOG_COLOR_COMMIT</code></a></dt>
518 cc85973b 2019-11-27 stsp <dd>The color used to mark up commit IDs. If not set, the default value
519 cc85973b 2019-11-27 stsp &#x201C;green&#x201D; is used.</dd>
520 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_AUTHOR"><a class="permalink" href="#TOG_COLOR_AUTHOR"><code class="Ev">TOG_COLOR_AUTHOR</code></a></dt>
521 cc85973b 2019-11-27 stsp <dd>The color used to mark up author information. If not set, the default
522 cc85973b 2019-11-27 stsp value &#x201C;cyan&#x201D; is used.</dd>
523 2dbbbc3a 2020-07-23 stsp <dt id="TOG_COLOR_DATE"><a class="permalink" href="#TOG_COLOR_DATE"><code class="Ev">TOG_COLOR_DATE</code></a></dt>
524 cc85973b 2019-11-27 stsp <dd>The color used to mark up date information. If not set, the default value
525 cc85973b 2019-11-27 stsp &#x201C;yellow&#x201D; is used.</dd>
526 1b792db0 2020-12-13 stsp <dt id="TOG_COLOR_REFS_HEADS"><a class="permalink" href="#TOG_COLOR_REFS_HEADS"><code class="Ev">TOG_COLOR_REFS_HEADS</code></a></dt>
527 1b792db0 2020-12-13 stsp <dd>The color used to mark up references in the &#x201C;refs/heads/&#x201D;
528 1b792db0 2020-12-13 stsp namespace. If not set, the default value &#x201C;green&#x201D; is
529 1b792db0 2020-12-13 stsp used.</dd>
530 1b792db0 2020-12-13 stsp <dt id="TOG_COLOR_REFS_TAGS"><a class="permalink" href="#TOG_COLOR_REFS_TAGS"><code class="Ev">TOG_COLOR_REFS_TAGS</code></a></dt>
531 1b792db0 2020-12-13 stsp <dd>The color used to mark up references in the &#x201C;refs/tags/&#x201D;
532 1b792db0 2020-12-13 stsp namespace. If not set, the default value &#x201C;magenta&#x201D; is
533 1b792db0 2020-12-13 stsp used.</dd>
534 1b792db0 2020-12-13 stsp <dt id="TOG_COLOR_REFS_REMOTES"><a class="permalink" href="#TOG_COLOR_REFS_REMOTES"><code class="Ev">TOG_COLOR_REFS_REMOTES</code></a></dt>
535 1b792db0 2020-12-13 stsp <dd>The color used to mark up references in the &#x201C;refs/remotes/&#x201D;
536 1b792db0 2020-12-13 stsp namespace. If not set, the default value &#x201C;yellow&#x201D; is
537 1b792db0 2020-12-13 stsp used.</dd>
538 8797b228 2019-08-04 stsp </dl>
539 8797b228 2019-08-04 stsp </section>
540 8797b228 2019-08-04 stsp <section class="Sh">
541 8797b228 2019-08-04 stsp <h1 class="Sh" id="EXIT_STATUS"><a class="permalink" href="#EXIT_STATUS">EXIT
542 8797b228 2019-08-04 stsp STATUS</a></h1>
543 d8e62599 2019-10-21 stsp <p class="Pp">The <code class="Nm">tog</code> utility exits&#x00A0;0 on success,
544 d8e62599 2019-10-21 stsp and&#x00A0;&gt;0 if an error occurs.</p>
545 8797b228 2019-08-04 stsp </section>
546 8797b228 2019-08-04 stsp <section class="Sh">
547 8797b228 2019-08-04 stsp <h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
548 8797b228 2019-08-04 stsp ALSO</a></h1>
549 d8e62599 2019-10-21 stsp <p class="Pp"><a class="Xr">got(1)</a>, <a class="Xr">git-repository(5)</a>,
550 d8e62599 2019-10-21 stsp <a class="Xr">re_format(7)</a></p>
551 8797b228 2019-08-04 stsp </section>
552 8797b228 2019-08-04 stsp <section class="Sh">
553 8797b228 2019-08-04 stsp <h1 class="Sh" id="AUTHORS"><a class="permalink" href="#AUTHORS">AUTHORS</a></h1>
554 d8e62599 2019-10-21 stsp <p class="Pp"><span class="An">Stefan Sperling</span>
555 d8e62599 2019-10-21 stsp &lt;<a class="Mt" href="mailto:stsp@openbsd.org">stsp@openbsd.org</a>&gt;
556 d8e62599 2019-10-21 stsp <br/>
557 d8e62599 2019-10-21 stsp <span class="An">Joshua Stein</span>
558 d8e62599 2019-10-21 stsp &lt;<a class="Mt" href="mailto:jcs@openbsd.org">jcs@openbsd.org</a>&gt;</p>
559 8797b228 2019-08-04 stsp </section>
560 8797b228 2019-08-04 stsp </div>
561 8797b228 2019-08-04 stsp <table class="foot">
562 8797b228 2019-08-04 stsp <tr>
563 1b792db0 2020-12-13 stsp <td class="foot-date">December 13, 2020</td>
564 f2e17eed 2020-11-14 stsp <td class="foot-os">OpenBSD 6.8</td>
565 8797b228 2019-08-04 stsp </tr>
566 8797b228 2019-08-04 stsp </table>
567 8797b228 2019-08-04 stsp </body>
568 8797b228 2019-08-04 stsp </html>