Blame


1 030916b5 2018-07-12 stsp .\"
2 030916b5 2018-07-12 stsp .\" Copyright (c) 2018 Stefan Sperling
3 030916b5 2018-07-12 stsp .\"
4 030916b5 2018-07-12 stsp .\" Permission to use, copy, modify, and distribute this software for any
5 030916b5 2018-07-12 stsp .\" purpose with or without fee is hereby granted, provided that the above
6 030916b5 2018-07-12 stsp .\" copyright notice and this permission notice appear in all copies.
7 030916b5 2018-07-12 stsp .\"
8 030916b5 2018-07-12 stsp .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 030916b5 2018-07-12 stsp .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 030916b5 2018-07-12 stsp .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 030916b5 2018-07-12 stsp .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 030916b5 2018-07-12 stsp .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 030916b5 2018-07-12 stsp .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 030916b5 2018-07-12 stsp .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 030916b5 2018-07-12 stsp .\"
16 030916b5 2018-07-12 stsp .Dd $Mdocdate$
17 030916b5 2018-07-12 stsp .Dt TOG 1
18 030916b5 2018-07-12 stsp .Os
19 030916b5 2018-07-12 stsp .Sh NAME
20 030916b5 2018-07-12 stsp .Nm tog
21 aee2a8bd 2019-08-05 stsp .Nd Git repository browser
22 030916b5 2018-07-12 stsp .Sh SYNOPSIS
23 030916b5 2018-07-12 stsp .Nm
24 ee85c5e8 2020-02-29 stsp .Op Ar command
25 030916b5 2018-07-12 stsp .Op Fl h
26 030916b5 2018-07-12 stsp .Op Ar arg ...
27 ee85c5e8 2020-02-29 stsp .Pp
28 ee85c5e8 2020-02-29 stsp .Nm
29 ee85c5e8 2020-02-29 stsp .Ar path
30 030916b5 2018-07-12 stsp .Sh DESCRIPTION
31 030916b5 2018-07-12 stsp .Nm
32 aee2a8bd 2019-08-05 stsp is an interactive read-only browser for Git repositories.
33 030916b5 2018-07-12 stsp This repository format is described in
34 5e5560e1 2018-08-01 stsp .Xr git-repository 5 .
35 030916b5 2018-07-12 stsp .Pp
36 030916b5 2018-07-12 stsp .Nm
37 0cf4efb1 2018-09-29 stsp supports several types of views which display repository data:
38 87aa0e98 2018-08-18 stsp .Bl -tag -width Ds
39 9419758a 2019-03-27 stsp .It Log view
40 87aa0e98 2018-08-18 stsp Displays commits in the repository's history.
41 87aa0e98 2018-08-18 stsp This view is displayed initially if no
42 87aa0e98 2018-08-18 stsp .Ar command
43 ee85c5e8 2020-02-29 stsp is specified, or if just a
44 ee85c5e8 2020-02-29 stsp .Ar path
45 87aa0e98 2018-08-18 stsp is specified.
46 9419758a 2019-03-27 stsp .It Diff view
47 87aa0e98 2018-08-18 stsp Displays changes made in a particular commit.
48 9419758a 2019-03-27 stsp .It Blame view
49 87aa0e98 2018-08-18 stsp Displays the line-by-line history of a file.
50 9419758a 2019-03-27 stsp .It Tree view
51 87aa0e98 2018-08-18 stsp Displays the tree corresponding to a particular commit.
52 38cb327b 2020-11-24 stsp .It Ref view
53 38cb327b 2020-11-24 stsp Displays references in the repository.
54 87aa0e98 2018-08-18 stsp .El
55 87aa0e98 2018-08-18 stsp .Pp
56 87aa0e98 2018-08-18 stsp .Nm
57 87aa0e98 2018-08-18 stsp provides global and command-specific key bindings and options.
58 07b0611c 2022-06-23 thomas Some command-specific key bindings may be prefixed with an integer, which is
59 07b0611c 2022-06-23 thomas denoted by N in the descriptions below, and is used as a modifier to the
60 07b0611c 2022-06-23 thomas operation as indicated.
61 07b0611c 2022-06-23 thomas .Nm
62 fa502711 2022-07-03 thomas will echo digits to the screen when count modifiers are entered, and complete
63 fa502711 2022-07-03 thomas the sequence upon input of the first non-numeric character.
64 fa502711 2022-07-03 thomas Count modifiers can be aborted by entering an unmapped key.
65 634cb454 2022-07-03 thomas Once a compound command is executed, the operation can be cancelled with
66 634cb454 2022-07-03 thomas .Cm C-g
67 634cb454 2022-07-03 thomas or
68 634cb454 2022-07-03 thomas .Cm Backspace .
69 7faa2de4 2022-07-12 thomas .Pp
70 87aa0e98 2018-08-18 stsp The global key bindings are:
71 87aa0e98 2018-08-18 stsp .Bl -tag -width Ds
72 87aa0e98 2018-08-18 stsp .It Cm Q
73 87aa0e98 2018-08-18 stsp Quit
74 87aa0e98 2018-08-18 stsp .Nm .
75 87aa0e98 2018-08-18 stsp .It Cm q
76 87aa0e98 2018-08-18 stsp Quit the view which is in focus.
77 87aa0e98 2018-08-18 stsp .It Cm Tab
78 c0d30c23 2018-10-07 stsp Switch focus between views.
79 1c5e5faa 2022-06-23 thomas .It Cm F
80 c0d30c23 2018-10-07 stsp Toggle fullscreen mode for a split-screen view.
81 e9b3576f 2019-03-27 stsp .Nm
82 b1c950bf 2022-07-12 thomas will automatically use vertical split-screen views if the size of the
83 b1c950bf 2022-07-12 thomas terminal window is sufficiently large.
84 64486692 2022-07-07 thomas .It Cm S
85 569abcd7 2022-07-12 thomas Switch the current split-screen layout, and render all active views in
86 569abcd7 2022-07-12 thomas this new layout.
87 b1c950bf 2022-07-12 thomas The split-screen layout can be either vertical or horizontal.
88 569abcd7 2022-07-12 thomas If the terminal is not wide enough when switching to a vertical split,
89 569abcd7 2022-07-12 thomas views will render in fullscreen.
90 53d2bdd3 2022-07-10 thomas .It Cm -
91 53d2bdd3 2022-07-10 thomas When in a split-screen view, decrease the size of the focussed split
92 53d2bdd3 2022-07-10 thomas N increments (default: 1).
93 53d2bdd3 2022-07-10 thomas .It Cm +
94 53d2bdd3 2022-07-10 thomas When in a split-screen view, increase the size of the focussed split
95 53d2bdd3 2022-07-10 thomas N increments (default: 1).
96 87aa0e98 2018-08-18 stsp .El
97 87aa0e98 2018-08-18 stsp .Pp
98 87aa0e98 2018-08-18 stsp Global options must precede the command name, and are as follows:
99 030916b5 2018-07-12 stsp .Bl -tag -width tenletters
100 030916b5 2018-07-12 stsp .It Fl h
101 030916b5 2018-07-12 stsp Display usage information.
102 1795b260 2021-04-02 kn .It Fl V , -version
103 53ccebc2 2019-07-30 stsp Display program version and exit immediately.
104 030916b5 2018-07-12 stsp .El
105 030916b5 2018-07-12 stsp .Pp
106 030916b5 2018-07-12 stsp The commands for
107 030916b5 2018-07-12 stsp .Nm
108 030916b5 2018-07-12 stsp are as follows:
109 030916b5 2018-07-12 stsp .Bl -tag -width blame
110 b672a97a 2020-01-27 stsp .It Cm log Oo Fl b Oc Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
111 030916b5 2018-07-12 stsp Display history of a repository.
112 ecb28ae0 2018-07-16 stsp If a
113 ecb28ae0 2018-07-16 stsp .Ar path
114 ecb28ae0 2018-07-16 stsp is specified, show only commits which modified this path.
115 dc990cbf 2020-02-22 stsp If invoked in a work tree, the
116 dc990cbf 2020-02-22 stsp .Ar path
117 dc990cbf 2020-02-22 stsp is interpreted relative to the current working directory,
118 dc990cbf 2020-02-22 stsp and the work tree's path prefix is implicitly prepended.
119 dc990cbf 2020-02-22 stsp Otherwise, the path is interpreted relative to the repository root.
120 030916b5 2018-07-12 stsp .Pp
121 030916b5 2018-07-12 stsp This command is also executed if no explicit command is specified.
122 030916b5 2018-07-12 stsp .Pp
123 030916b5 2018-07-12 stsp The key bindings for
124 030916b5 2018-07-12 stsp .Cm tog log
125 07b0611c 2022-06-23 thomas are as follows (N denotes optional prefixed count modifier):
126 030916b5 2018-07-12 stsp .Bl -tag -width Ds
127 f7140bf5 2021-10-17 thomas .It Cm Down-arrow, j, >, Full stop, Ctrl-n
128 07b0611c 2022-06-23 thomas Move the selection cursor down N lines (default: 1).
129 f7140bf5 2021-10-17 thomas .It Cm Up-arrow, k, <, Comma, Ctrl-p
130 07b0611c 2022-06-23 thomas Move the selection cursor up N lines (default: 1).
131 05171be4 2022-06-23 thomas .It Cm Right-arrow, l
132 07b0611c 2022-06-23 thomas Scroll log message field to the right N increments (default: 1).
133 07b0611c 2022-06-23 thomas .br
134 d74d8993 2022-06-23 thomas Log message moves left on the screen.
135 05171be4 2022-06-23 thomas .It Cm Left-arrow, h
136 07b0611c 2022-06-23 thomas Scroll log message field to the left N increments (default: 1).
137 07b0611c 2022-06-23 thomas .br
138 d74d8993 2022-06-23 thomas Log message moves right on the screen.
139 05171be4 2022-06-23 thomas .It Cm $
140 05171be4 2022-06-23 thomas Scroll log message field to the rightmost position.
141 05171be4 2022-06-23 thomas .It Cm 0
142 05171be4 2022-06-23 thomas Scroll log message field to the leftmost position.
143 4c2d69cb 2022-06-23 thomas .It Cm Page-down, Space, Ctrl+f, f
144 07b0611c 2022-06-23 thomas Move the selection cursor down N pages (default: 1).
145 1c5e5faa 2022-06-23 thomas .It Cm Page-up, Ctrl+b, b
146 07b0611c 2022-06-23 thomas Move the selection cursor up N pages (default: 1).
147 23427b14 2022-06-23 thomas .It Cm Ctrl+d, d
148 07b0611c 2022-06-23 thomas Move the selection cursor down N half pages (default: 1).
149 23427b14 2022-06-23 thomas .It Cm Ctrl+u, u
150 07b0611c 2022-06-23 thomas Move the selection cursor up N half pages (default: 1).
151 27890b18 2021-08-30 stsp .It Cm Home, g
152 912a3f79 2021-08-30 j Move the cursor to the newest commit.
153 912a3f79 2021-08-30 j .It Cm End, G
154 912a3f79 2021-08-30 j Move the cursor to the oldest commit.
155 1dd93b2a 2021-08-30 stsp This will traverse all commits on the current branch which may take
156 1dd93b2a 2021-08-30 stsp a long time depending on the number of commits in branch history.
157 4b06140e 2022-03-22 thomas If needed, this operation can be cancelled with
158 634cb454 2022-07-03 thomas .Cm C-g
159 634cb454 2022-07-03 thomas or
160 9ebbe6e1 2021-08-30 stsp .Cm Backspace .
161 4c2d69cb 2022-06-23 thomas .It Cm Enter
162 c0d30c23 2018-10-07 stsp Open a
163 030916b5 2018-07-12 stsp .Cm diff
164 030916b5 2018-07-12 stsp view showing file changes made in the currently selected commit.
165 030916b5 2018-07-12 stsp .It Cm t
166 a60a9dc4 2019-05-13 jcs Open a
167 030916b5 2018-07-12 stsp .Cm tree
168 030916b5 2018-07-12 stsp view showing the tree for the currently selected commit.
169 5036bf37 2018-09-24 stsp .It Cm Backspace
170 26f0cb24 2021-08-30 j Show log entries for the parent directory of the currently selected path.
171 26f0cb24 2021-08-30 j However when an active search is in progress or when additional commits
172 26f0cb24 2021-08-30 j are loaded,
173 678cbce5 2019-07-28 stsp .Cm Backspace
174 26f0cb24 2021-08-30 j aborts the running operation.
175 60493ae3 2019-06-20 stsp .It Cm /
176 60493ae3 2019-06-20 stsp Prompt for a search pattern and start searching for matching commits.
177 60493ae3 2019-06-20 stsp The search pattern is an extended regular expression which is matched
178 df0b3d8a 2019-06-28 stsp against a commit's author name, committer name, log message, and
179 df0b3d8a 2019-06-28 stsp commit ID SHA1 hash.
180 e6c76b79 2019-06-21 stsp Regular expression syntax is documented in
181 e6c76b79 2019-06-21 stsp .Xr re_format 7 .
182 60493ae3 2019-06-20 stsp .It Cm n
183 07b0611c 2022-06-23 thomas Find the Nth next commit which matches the current search pattern (default: 1).
184 07b0611c 2022-06-23 thomas .br
185 634cb454 2022-07-03 thomas Searching continues until either a match is found or
186 634cb454 2022-07-03 thomas .Cm C-g
187 634cb454 2022-07-03 thomas or the
188 678cbce5 2019-07-28 stsp .Cm Backspace
189 678cbce5 2019-07-28 stsp key is pressed.
190 b1bf1435 2019-06-21 stsp .It Cm N
191 07b0611c 2022-06-23 thomas Find the Nth previous commit which matches the current search pattern
192 07b0611c 2022-06-23 thomas (default: 1).
193 07b0611c 2022-06-23 thomas .br
194 634cb454 2022-07-03 thomas Searching continues until either a match is found or
195 634cb454 2022-07-03 thomas .Cm C-g
196 634cb454 2022-07-03 thomas or the
197 678cbce5 2019-07-28 stsp .Cm Backspace
198 678cbce5 2019-07-28 stsp key is pressed.
199 bf0668dd 2019-06-26 stsp .It Cm Ctrl+l
200 01ca22b1 2020-12-07 stsp Reload the
201 01ca22b1 2020-12-07 stsp .Cm log
202 01ca22b1 2020-12-07 stsp view with new commits found in the repository.
203 b672a97a 2020-01-27 stsp .It Cm B
204 01ca22b1 2020-12-07 stsp Reload the
205 01ca22b1 2020-12-07 stsp .Cm log
206 01ca22b1 2020-12-07 stsp view and toggle display of merged commits.
207 b672a97a 2020-01-27 stsp The
208 b672a97a 2020-01-27 stsp .Fl b
209 b672a97a 2020-01-27 stsp option determines whether merged commits are displayed initially.
210 38cb327b 2020-11-24 stsp .It Cm r
211 38cb327b 2020-11-24 stsp Open a
212 38cb327b 2020-11-24 stsp .Cm ref
213 38cb327b 2020-11-24 stsp view listing all references in the repository.
214 38cb327b 2020-11-24 stsp This can then be used to open a new
215 38cb327b 2020-11-24 stsp .Cm log
216 38cb327b 2020-11-24 stsp view for arbitrary branches and tags.
217 f69c5a46 2022-07-19 thomas .It Cm @
218 f69c5a46 2022-07-19 thomas Toggle between showing the author and the committer name.
219 030916b5 2018-07-12 stsp .El
220 030916b5 2018-07-12 stsp .Pp
221 030916b5 2018-07-12 stsp The options for
222 030916b5 2018-07-12 stsp .Cm tog log
223 030916b5 2018-07-12 stsp are as follows:
224 030916b5 2018-07-12 stsp .Bl -tag -width Ds
225 b672a97a 2020-01-27 stsp .It Fl b
226 1137e0ae 2020-01-27 stsp Display individual commits which were merged into the current branch
227 1137e0ae 2020-01-27 stsp from other branches.
228 b672a97a 2020-01-27 stsp By default,
229 b672a97a 2020-01-27 stsp .Cm tog log
230 b672a97a 2020-01-27 stsp shows the linear history of the current branch only.
231 b672a97a 2020-01-27 stsp The
232 b672a97a 2020-01-27 stsp .Cm B
233 b672a97a 2020-01-27 stsp key binding can be used to toggle display of merged commits at run-time.
234 030916b5 2018-07-12 stsp .It Fl c Ar commit
235 030916b5 2018-07-12 stsp Start traversing history at the specified
236 030916b5 2018-07-12 stsp .Ar commit .
237 a54b6686 2019-06-28 stsp The expected argument is the name of a branch or a commit ID SHA1 hash.
238 0db75f06 2019-07-07 stsp An abbreviated hash argument will be expanded to a full SHA1 hash
239 0db75f06 2019-07-07 stsp automatically, provided the abbreviation is unique.
240 19e70ad6 2019-05-14 stsp If this option is not specified, default to the work tree's current branch
241 19e70ad6 2019-05-14 stsp if invoked in a work tree, or to the repository's HEAD reference.
242 ecb28ae0 2018-07-16 stsp .It Fl r Ar repository-path
243 ecb28ae0 2018-07-16 stsp Use the repository at the specified path.
244 ecb28ae0 2018-07-16 stsp If not specified, assume the repository is located at or above the current
245 ecb28ae0 2018-07-16 stsp working directory.
246 212b39d1 2020-02-24 naddy If this directory is a
247 212b39d1 2020-02-24 naddy .Xr got 1
248 212b39d1 2020-02-24 naddy work tree, use the repository path associated with this work tree.
249 030916b5 2018-07-12 stsp .El
250 21920d7e 2020-12-07 stsp .It Cm diff Oo Fl a Oc Oo Fl C Ar number Oc Oo Fl r Ar repository-path Oc Oo Fl w Oc Ar object1 Ar object2
251 030916b5 2018-07-12 stsp Display the differences between two objects in the repository.
252 3dbaef42 2020-11-24 stsp Treat each of the two arguments as a reference, a tag name, or an object
253 3dbaef42 2020-11-24 stsp ID SHA1 hash, and display differences between the corresponding objects.
254 3dbaef42 2020-11-24 stsp Both objects must be of the same type (blobs, trees, or commits).
255 0db75f06 2019-07-07 stsp An abbreviated hash argument will be expanded to a full SHA1 hash
256 0db75f06 2019-07-07 stsp automatically, provided the abbreviation is unique.
257 030916b5 2018-07-12 stsp .Pp
258 030916b5 2018-07-12 stsp The key bindings for
259 030916b5 2018-07-12 stsp .Cm tog diff
260 07b0611c 2022-06-23 thomas are as follows (N denotes optional prefixed count modifier):
261 030916b5 2018-07-12 stsp .Bl -tag -width Ds
262 64453f7e 2020-11-21 stsp .It Cm a
263 64453f7e 2020-11-21 stsp Toggle treatment of file contents as ASCII text even if binary data was
264 64453f7e 2020-11-21 stsp detected.
265 f7140bf5 2021-10-17 thomas .It Cm Down-arrow, j, Ctrl-n
266 07b0611c 2022-06-23 thomas Scroll down N lines (default: 1).
267 f7140bf5 2021-10-17 thomas .It Cm Up-arrow, k, Ctrl-p
268 07b0611c 2022-06-23 thomas Scroll up N lines (default: 1).
269 05171be4 2022-06-23 thomas .It Cm Right-arrow, l
270 07b0611c 2022-06-23 thomas Scroll view to the right N increments (default: 1).
271 07b0611c 2022-06-23 thomas .br
272 d74d8993 2022-06-23 thomas Diff output moves left on the screen.
273 05171be4 2022-06-23 thomas .It Cm Left-arrow, h
274 07b0611c 2022-06-23 thomas Scroll view to the left N increments (default: 1).
275 07b0611c 2022-06-23 thomas .br
276 d74d8993 2022-06-23 thomas Diff output moves right on the screen.
277 05171be4 2022-06-23 thomas .It Cm $
278 05171be4 2022-06-23 thomas Scroll view to the rightmost position.
279 05171be4 2022-06-23 thomas .It Cm 0
280 05171be4 2022-06-23 thomas Scroll view left to the start of the line.
281 1c5e5faa 2022-06-23 thomas .It Cm Page-down, Space, Ctrl+f, f
282 07b0611c 2022-06-23 thomas Scroll down N pages (default: 1).
283 1c5e5faa 2022-06-23 thomas .It Cm Page-up, Ctrl+b, b
284 07b0611c 2022-06-23 thomas Scroll up N pages (default: 1).
285 23427b14 2022-06-23 thomas .It Cm Ctrl+d, d
286 07b0611c 2022-06-23 thomas Scroll down N half pages (default: 1).
287 23427b14 2022-06-23 thomas .It Cm Ctrl+u, u
288 07b0611c 2022-06-23 thomas Scroll up N half pages (default: 1).
289 00f6361c 2021-08-30 naddy .It Cm Home, g
290 912a3f79 2021-08-30 j Scroll to the top of the view.
291 912a3f79 2021-08-30 j .It Cm End, G
292 912a3f79 2021-08-30 j Scroll to the bottom of the view.
293 dfc23429 2019-08-11 stsp .It Cm \&[
294 07b0611c 2022-06-23 thomas Reduce diff context by N lines (default: 1).
295 dfc23429 2019-08-11 stsp .It Cm \&]
296 07b0611c 2022-06-23 thomas Increase diff context by N lines (default: 1).
297 777aae21 2022-07-20 thomas .It Cm <, Comma, K
298 01ca22b1 2020-12-07 stsp If the
299 01ca22b1 2020-12-07 stsp .Cm diff
300 01ca22b1 2020-12-07 stsp view was opened via the
301 01ca22b1 2020-12-07 stsp .Cm log
302 4fc71f3b 2022-07-12 thomas view, move to the Nth previous (younger) commit.
303 4fc71f3b 2022-07-12 thomas If the diff was opened via the
304 4fc71f3b 2022-07-12 thomas .Cm blame
305 4fc71f3b 2022-07-12 thomas view, move to the Nth previous line and load the corresponding commit
306 4fc71f3b 2022-07-12 thomas (default: 1).
307 777aae21 2022-07-20 thomas .It Cm >, Full stop, J
308 01ca22b1 2020-12-07 stsp If the
309 01ca22b1 2020-12-07 stsp .Cm diff
310 01ca22b1 2020-12-07 stsp view was opened via the
311 01ca22b1 2020-12-07 stsp .Cm log
312 4fc71f3b 2022-07-12 thomas view, move to the Nth next (older) commit.
313 4fc71f3b 2022-07-12 thomas If the diff was opened via the
314 4fc71f3b 2022-07-12 thomas .Cm blame
315 4fc71f3b 2022-07-12 thomas view, move to the Nth next line and load the corresponding commit (default: 1).
316 66dc9065 2020-02-15 stsp .It Cm /
317 0e404f95 2020-11-14 stsp Prompt for a search pattern and start searching for matching lines.
318 66dc9065 2020-02-15 stsp The search pattern is an extended regular expression.
319 66dc9065 2020-02-15 stsp Regular expression syntax is documented in
320 66dc9065 2020-02-15 stsp .Xr re_format 7 .
321 66dc9065 2020-02-15 stsp .It Cm n
322 07b0611c 2022-06-23 thomas Find the Nth next line which matches the current search pattern (default: 1).
323 66dc9065 2020-02-15 stsp .It Cm N
324 07b0611c 2022-06-23 thomas Find the Nth previous line which matches the current search pattern
325 07b0611c 2022-06-23 thomas (default: 1).
326 3dbaef42 2020-11-24 stsp .It Cm w
327 3dbaef42 2020-11-24 stsp Toggle display of whitespace-only changes.
328 adf4c9e0 2022-07-03 thomas .It Cm A
329 adf4c9e0 2022-07-03 thomas Change the diff algorithm.
330 d40a767d 2022-07-03 thomas Supported diff algorithms are Myers (quick and dirty) and
331 d40a767d 2022-07-03 thomas Patience (slow and tidy).
332 adf4c9e0 2022-07-03 thomas This is a global setting which also affects the
333 adf4c9e0 2022-07-03 thomas .Cm blame
334 adf4c9e0 2022-07-03 thomas view.
335 030916b5 2018-07-12 stsp .El
336 09b5bff8 2020-02-23 naddy .Pp
337 09b5bff8 2020-02-23 naddy The options for
338 09b5bff8 2020-02-23 naddy .Cm tog diff
339 09b5bff8 2020-02-23 naddy are as follows:
340 09b5bff8 2020-02-23 naddy .Bl -tag -width Ds
341 64453f7e 2020-11-21 stsp .It Fl a
342 64453f7e 2020-11-21 stsp Treat file contents as ASCII text even if binary data is detected.
343 3dbaef42 2020-11-24 stsp .It Fl C Ar number
344 3dbaef42 2020-11-24 stsp Set the number of context lines shown in the diff.
345 3dbaef42 2020-11-24 stsp By default, 3 lines of context are shown.
346 09b5bff8 2020-02-23 naddy .It Fl r Ar repository-path
347 09b5bff8 2020-02-23 naddy Use the repository at the specified path.
348 09b5bff8 2020-02-23 naddy If not specified, assume the repository is located at or above the current
349 09b5bff8 2020-02-23 naddy working directory.
350 212b39d1 2020-02-24 naddy If this directory is a
351 212b39d1 2020-02-24 naddy .Xr got 1
352 212b39d1 2020-02-24 naddy work tree, use the repository path associated with this work tree.
353 3dbaef42 2020-11-24 stsp .It Fl w
354 3dbaef42 2020-11-24 stsp Ignore whitespace-only changes.
355 09b5bff8 2020-02-23 naddy .El
356 dfc23429 2019-08-11 stsp .It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path
357 030916b5 2018-07-12 stsp Display line-by-line history of a file at the specified path.
358 030916b5 2018-07-12 stsp .Pp
359 030916b5 2018-07-12 stsp The key bindings for
360 030916b5 2018-07-12 stsp .Cm tog blame
361 07b0611c 2022-06-23 thomas are as follows (N denotes optional prefixed count modifier):
362 030916b5 2018-07-12 stsp .Bl -tag -width Ds
363 f7140bf5 2021-10-17 thomas .It Cm Down-arrow, j, Ctrl-n
364 07b0611c 2022-06-23 thomas Move the selection cursor down N pages (default: 1).
365 f7140bf5 2021-10-17 thomas .It Cm Up-arrow, k, Ctrl-p
366 07b0611c 2022-06-23 thomas Move the selection cursor up N pages (default: 1).
367 05171be4 2022-06-23 thomas .It Cm Right-arrow, l
368 07b0611c 2022-06-23 thomas Scroll view to the right N increments (default: 1).
369 07b0611c 2022-06-23 thomas .br
370 d74d8993 2022-06-23 thomas File output moves left on the screen.
371 05171be4 2022-06-23 thomas .It Cm Left-arrow, h
372 07b0611c 2022-06-23 thomas Scroll view to the left N increments (default: 1).
373 07b0611c 2022-06-23 thomas .br
374 d74d8993 2022-06-23 thomas File output moves right on the screen.
375 05171be4 2022-06-23 thomas .It Cm $
376 05171be4 2022-06-23 thomas Scroll view to the rightmost position.
377 05171be4 2022-06-23 thomas .It Cm 0
378 05171be4 2022-06-23 thomas Scroll view left to the start of the line.
379 1c5e5faa 2022-06-23 thomas .It Cm Page-down, Space, Ctrl+f, f
380 07b0611c 2022-06-23 thomas Move the selection cursor down N pages (default: 1).
381 1c5e5faa 2022-06-23 thomas .It Cm Page-up, Ctrl+b, b
382 07b0611c 2022-06-23 thomas Move the selection cursor up N pages (default: 1).
383 23427b14 2022-06-23 thomas .It Cm Ctrl+d, d
384 07b0611c 2022-06-23 thomas Move the selection cursor down N half pages (default: 1).
385 23427b14 2022-06-23 thomas .It Cm Ctrl+u, u
386 07b0611c 2022-06-23 thomas Move the selection cursor up N half pages (default: 1).
387 4deef56f 2021-09-02 naddy .It Cm Home, g
388 4deef56f 2021-09-02 naddy Move the selection cursor to the first line of the file.
389 4deef56f 2021-09-02 naddy .It Cm End, G
390 4deef56f 2021-09-02 naddy Move the selection cursor to the last line of the file.
391 030916b5 2018-07-12 stsp .It Cm Enter
392 c0d30c23 2018-10-07 stsp Open a
393 030916b5 2018-07-12 stsp .Cm diff
394 030916b5 2018-07-12 stsp view for the currently selected line's commit.
395 1c5e5faa 2022-06-23 thomas .It Cm c
396 c0d30c23 2018-10-07 stsp Reload the
397 030916b5 2018-07-12 stsp .Cm blame
398 c0d30c23 2018-10-07 stsp view with the version of the file as found in the currently
399 c0d30c23 2018-10-07 stsp selected line's commit.
400 7a2921f9 2018-07-12 stsp .It Cm p
401 c0d30c23 2018-10-07 stsp Reload the
402 7a2921f9 2018-07-12 stsp .Cm blame
403 c0d30c23 2018-10-07 stsp view with the version of the file as found in the parent commit of the
404 c0d30c23 2018-10-07 stsp currently selected line's commit.
405 1c5e5faa 2022-06-23 thomas .It Cm C
406 c0d30c23 2018-10-07 stsp Reload the
407 030916b5 2018-07-12 stsp .Cm blame
408 c0d30c23 2018-10-07 stsp view with the previously blamed commit.
409 eaeaa612 2022-07-20 thomas .It Cm L
410 eaeaa612 2022-07-20 thomas Open a
411 eaeaa612 2022-07-20 thomas .Cm log
412 eaeaa612 2022-07-20 thomas view for the currently selected annotated line.
413 6c4c42e0 2019-06-24 stsp .It Cm /
414 0e404f95 2020-11-14 stsp Prompt for a search pattern and start searching for matching lines.
415 6c4c42e0 2019-06-24 stsp The search pattern is an extended regular expression.
416 6c4c42e0 2019-06-24 stsp Regular expression syntax is documented in
417 6c4c42e0 2019-06-24 stsp .Xr re_format 7 .
418 6c4c42e0 2019-06-24 stsp .It Cm n
419 07b0611c 2022-06-23 thomas Find the Nth next line which matches the current search pattern (default: 1).
420 6c4c42e0 2019-06-24 stsp .It Cm N
421 07b0611c 2022-06-23 thomas Find the Nth previous line which matches the current search pattern
422 07b0611c 2022-06-23 thomas (default: 1).
423 adf4c9e0 2022-07-03 thomas .It Cm A
424 adf4c9e0 2022-07-03 thomas Change the diff algorithm.
425 d40a767d 2022-07-03 thomas Supported diff algorithms are Myers (quick and dirty) and
426 d40a767d 2022-07-03 thomas Patience (slow and tidy).
427 adf4c9e0 2022-07-03 thomas This is a global setting which also affects the
428 adf4c9e0 2022-07-03 thomas .Cm diff
429 adf4c9e0 2022-07-03 thomas view.
430 030916b5 2018-07-12 stsp .El
431 030916b5 2018-07-12 stsp .Pp
432 030916b5 2018-07-12 stsp The options for
433 030916b5 2018-07-12 stsp .Cm tog blame
434 030916b5 2018-07-12 stsp are as follows:
435 030916b5 2018-07-12 stsp .Bl -tag -width Ds
436 030916b5 2018-07-12 stsp .It Fl c Ar commit
437 030916b5 2018-07-12 stsp Start traversing history at the specified
438 030916b5 2018-07-12 stsp .Ar commit .
439 a54b6686 2019-06-28 stsp The expected argument is the name of a branch or a commit ID SHA1 hash.
440 0db75f06 2019-07-07 stsp An abbreviated hash argument will be expanded to a full SHA1 hash
441 0db75f06 2019-07-07 stsp automatically, provided the abbreviation is unique.
442 69069811 2018-08-02 stsp .It Fl r Ar repository-path
443 69069811 2018-08-02 stsp Use the repository at the specified path.
444 69069811 2018-08-02 stsp If not specified, assume the repository is located at or above the current
445 69069811 2018-08-02 stsp working directory.
446 212b39d1 2020-02-24 naddy If this directory is a
447 212b39d1 2020-02-24 naddy .Xr got 1
448 212b39d1 2020-02-24 naddy work tree, use the repository path associated with this work tree.
449 030916b5 2018-07-12 stsp .El
450 55cccc34 2020-02-20 stsp .It Cm tree Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
451 030916b5 2018-07-12 stsp Display the repository tree.
452 55cccc34 2020-02-20 stsp If a
453 55cccc34 2020-02-20 stsp .Ar path
454 55cccc34 2020-02-20 stsp is specified, show tree entries at this path.
455 030916b5 2018-07-12 stsp .Pp
456 848d6979 2019-08-12 stsp Displayed tree entries may carry one of the following trailing annotations:
457 848d6979 2019-08-12 stsp .Bl -column YXZ description
458 848d6979 2019-08-12 stsp .It @ Ta entry is a symbolic link
459 848d6979 2019-08-12 stsp .It / Ta entry is a directory
460 848d6979 2019-08-12 stsp .It * Ta entry is an executable file
461 63c5ca5d 2019-08-24 stsp .It $ Ta entry is a Git submodule
462 848d6979 2019-08-12 stsp .El
463 0d6c6ee3 2020-05-20 stsp .Pp
464 0d6c6ee3 2020-05-20 stsp Symbolic link entries are also annotated with the target path of the link.
465 848d6979 2019-08-12 stsp .Pp
466 030916b5 2018-07-12 stsp The key bindings for
467 030916b5 2018-07-12 stsp .Cm tog tree
468 07b0611c 2022-06-23 thomas are as follows (N denotes optional prefixed count modifier):
469 030916b5 2018-07-12 stsp .Bl -tag -width Ds
470 f7140bf5 2021-10-17 thomas .It Cm Down-arrow, j, Ctrl-n
471 07b0611c 2022-06-23 thomas Move the selection cursor down N lines (default: 1).
472 f7140bf5 2021-10-17 thomas .It Cm Up-arrow, k, Ctrl-p
473 07b0611c 2022-06-23 thomas Move the selection cursor up N lines (default: 1).
474 4c2d69cb 2022-06-23 thomas .It Cm Page-down, Space, Ctrl+f, f
475 07b0611c 2022-06-23 thomas Move the selection cursor down N pages (default: 1).
476 1c5e5faa 2022-06-23 thomas .It Cm Page-up, Ctrl+b, b
477 07b0611c 2022-06-23 thomas Move the selection cursor up N pages (default: 1).
478 23427b14 2022-06-23 thomas .It Cm Ctrl+d, d
479 07b0611c 2022-06-23 thomas Move the selection cursor down N half pages (default: 1).
480 23427b14 2022-06-23 thomas .It Cm Ctrl+u, u
481 07b0611c 2022-06-23 thomas Move the selection cursor up N half pages (default: 1).
482 e4526bf5 2021-09-03 naddy .It Cm Home, g
483 e4526bf5 2021-09-03 naddy Move the selection cursor to the first entry.
484 e4526bf5 2021-09-03 naddy .It Cm End, G
485 e4526bf5 2021-09-03 naddy Move the selection cursor to the last entry.
486 030916b5 2018-07-12 stsp .It Cm Enter
487 030916b5 2018-07-12 stsp Enter the currently selected directory, or switch to the
488 030916b5 2018-07-12 stsp .Cm blame
489 030916b5 2018-07-12 stsp view for the currently selected file.
490 69efd4c4 2018-07-18 stsp .It Cm l
491 c0d30c23 2018-10-07 stsp Open a
492 69efd4c4 2018-07-18 stsp .Cm log
493 69efd4c4 2018-07-18 stsp view for the currently selected tree entry.
494 152c1c93 2020-11-29 stsp .It Cm r
495 152c1c93 2020-11-29 stsp Open a
496 152c1c93 2020-11-29 stsp .Cm ref
497 152c1c93 2020-11-29 stsp view listing all references in the repository.
498 152c1c93 2020-11-29 stsp This can then be used to open a new
499 152c1c93 2020-11-29 stsp .Cm tree
500 152c1c93 2020-11-29 stsp view for arbitrary branches and tags.
501 7837eeac 2018-09-24 stsp .It Cm Backspace
502 07b0611c 2022-06-23 thomas Move back to the Nth parent directory (default: 1).
503 030916b5 2018-07-12 stsp .It Cm i
504 c0d30c23 2018-10-07 stsp Show object IDs for all objects displayed in the
505 030916b5 2018-07-12 stsp .Cm tree
506 030916b5 2018-07-12 stsp view.
507 4eec20aa 2019-06-22 stsp .It Cm /
508 4eec20aa 2019-06-22 stsp Prompt for a search pattern and start searching for matching tree entries.
509 4eec20aa 2019-06-22 stsp The search pattern is an extended regular expression which is matched
510 4eec20aa 2019-06-22 stsp against the tree entry's name.
511 4eec20aa 2019-06-22 stsp Regular expression syntax is documented in
512 4eec20aa 2019-06-22 stsp .Xr re_format 7 .
513 4eec20aa 2019-06-22 stsp .It Cm n
514 07b0611c 2022-06-23 thomas Find the Nth next tree entry which matches the current search pattern
515 07b0611c 2022-06-23 thomas (default: 1).
516 4eec20aa 2019-06-22 stsp .It Cm N
517 07b0611c 2022-06-23 thomas Find the Nth previous tree entry which matches the current search pattern
518 07b0611c 2022-06-23 thomas (default: 1).
519 030916b5 2018-07-12 stsp .El
520 030916b5 2018-07-12 stsp .Pp
521 030916b5 2018-07-12 stsp The options for
522 030916b5 2018-07-12 stsp .Cm tog tree
523 030916b5 2018-07-12 stsp are as follows:
524 030916b5 2018-07-12 stsp .Bl -tag -width Ds
525 030916b5 2018-07-12 stsp .It Fl c Ar commit
526 030916b5 2018-07-12 stsp Start traversing history at the specified
527 030916b5 2018-07-12 stsp .Ar commit .
528 a54b6686 2019-06-28 stsp The expected argument is the name of a branch or a commit ID SHA1 hash.
529 0db75f06 2019-07-07 stsp An abbreviated hash argument will be expanded to a full SHA1 hash
530 0db75f06 2019-07-07 stsp automatically, provided the abbreviation is unique.
531 38cb327b 2020-11-24 stsp .It Fl r Ar repository-path
532 38cb327b 2020-11-24 stsp Use the repository at the specified path.
533 38cb327b 2020-11-24 stsp If not specified, assume the repository is located at or above the current
534 38cb327b 2020-11-24 stsp working directory.
535 38cb327b 2020-11-24 stsp If this directory is a
536 38cb327b 2020-11-24 stsp .Xr got 1
537 38cb327b 2020-11-24 stsp work tree, use the repository path associated with this work tree.
538 38cb327b 2020-11-24 stsp .El
539 38cb327b 2020-11-24 stsp .It Cm ref Oo Fl r Ar repository-path Oc
540 38cb327b 2020-11-24 stsp Display references in the repository.
541 38cb327b 2020-11-24 stsp .Pp
542 38cb327b 2020-11-24 stsp The key bindings for
543 38cb327b 2020-11-24 stsp .Cm tog ref
544 07b0611c 2022-06-23 thomas are as follows (N denotes optional prefixed count modifier):
545 38cb327b 2020-11-24 stsp .Bl -tag -width Ds
546 f7140bf5 2021-10-17 thomas .It Cm Down-arrow, j, Ctrl-n
547 07b0611c 2022-06-23 thomas Move the selection cursor down N lines (default: 1).
548 f7140bf5 2021-10-17 thomas .It Cm Up-arrow, k, Ctrl-p
549 07b0611c 2022-06-23 thomas Move the selection cursor up N lines (default: 1).
550 4c2d69cb 2022-06-23 thomas .It Cm Page-down, Space, Ctrl+f, f
551 07b0611c 2022-06-23 thomas Move the selection cursor down N pages (default: 1).
552 1c5e5faa 2022-06-23 thomas .It Cm Page-up, Ctrl+b, b
553 07b0611c 2022-06-23 thomas Move the selection cursor up N pages (default: 1).
554 23427b14 2022-06-23 thomas .It Cm Ctrl+d, d
555 07b0611c 2022-06-23 thomas Move the selection cursor down N half pages (default: 1).
556 23427b14 2022-06-23 thomas .It Cm Ctrl+u, u
557 07b0611c 2022-06-23 thomas Move the selection cursor up N half pages (default: 1).
558 e4526bf5 2021-09-03 naddy .It Cm Home, g
559 e4526bf5 2021-09-03 naddy Move the selection cursor to the first reference.
560 e4526bf5 2021-09-03 naddy .It Cm End, G
561 e4526bf5 2021-09-03 naddy Move the selection cursor to the last reference.
562 38cb327b 2020-11-24 stsp .It Cm Enter
563 01ca22b1 2020-12-07 stsp Open a
564 01ca22b1 2020-12-07 stsp .Cm log
565 01ca22b1 2020-12-07 stsp view which begins traversing history at the commit resolved via the
566 38cb327b 2020-11-24 stsp currently selected reference.
567 c42c9805 2020-11-24 stsp .It Cm t
568 c42c9805 2020-11-24 stsp Open a
569 c42c9805 2020-11-24 stsp .Cm tree
570 c42c9805 2020-11-24 stsp view showing the tree resolved via the currently selected reference.
571 38cb327b 2020-11-24 stsp .It Cm i
572 38cb327b 2020-11-24 stsp Show object IDs for all non-symbolic references displayed in the
573 38cb327b 2020-11-24 stsp .Cm ref
574 38cb327b 2020-11-24 stsp view.
575 84227eb1 2022-06-23 thomas .It Cm m
576 84227eb1 2022-06-23 thomas Show last modified date of each displayed reference.
577 98182bd0 2021-11-20 thomas .It Cm o
578 3bfadbd4 2021-11-20 thomas Toggle display order of references between sort by name and sort by timestamp.
579 38cb327b 2020-11-24 stsp .It Cm /
580 38cb327b 2020-11-24 stsp Prompt for a search pattern and start searching for matching references.
581 38cb327b 2020-11-24 stsp The search pattern is an extended regular expression which is matched
582 38cb327b 2020-11-24 stsp against absolute reference names.
583 38cb327b 2020-11-24 stsp Regular expression syntax is documented in
584 38cb327b 2020-11-24 stsp .Xr re_format 7 .
585 38cb327b 2020-11-24 stsp .It Cm n
586 07b0611c 2022-06-23 thomas Find the Nth next reference which matches the current search pattern
587 07b0611c 2022-06-23 thomas (default: 1).
588 38cb327b 2020-11-24 stsp .It Cm N
589 07b0611c 2022-06-23 thomas Find the Nth previous reference which matches the current search pattern
590 07b0611c 2022-06-23 thomas (default: 1).
591 38cb327b 2020-11-24 stsp .It Cm Ctrl+l
592 38cb327b 2020-11-24 stsp Reload the list of references displayed by the
593 38cb327b 2020-11-24 stsp .Cm ref
594 38cb327b 2020-11-24 stsp view.
595 38cb327b 2020-11-24 stsp .El
596 38cb327b 2020-11-24 stsp .Pp
597 38cb327b 2020-11-24 stsp The options for
598 38cb327b 2020-11-24 stsp .Cm tog ref
599 38cb327b 2020-11-24 stsp are as follows:
600 38cb327b 2020-11-24 stsp .Bl -tag -width Ds
601 74283ab8 2020-02-07 stsp .It Fl r Ar repository-path
602 74283ab8 2020-02-07 stsp Use the repository at the specified path.
603 74283ab8 2020-02-07 stsp If not specified, assume the repository is located at or above the current
604 74283ab8 2020-02-07 stsp working directory.
605 74283ab8 2020-02-07 stsp If this directory is a
606 74283ab8 2020-02-07 stsp .Xr got 1
607 74283ab8 2020-02-07 stsp work tree, use the repository path associated with this work tree.
608 030916b5 2018-07-12 stsp .El
609 030916b5 2018-07-12 stsp .El
610 6d17833f 2019-11-08 stsp .Sh ENVIRONMENT
611 64486692 2022-07-07 thomas .Bl -tag -width TOG_VIEW_SPLIT_MODE
612 adf4c9e0 2022-07-03 thomas .It Ev TOG_DIFF_ALGORITHM
613 adf4c9e0 2022-07-03 thomas Determines the default diff algorithm used by
614 adf4c9e0 2022-07-03 thomas .Nm .
615 d40a767d 2022-07-03 thomas Supported diff algorithms are Myers (quick and dirty) and
616 d40a767d 2022-07-03 thomas Patience (slow and tidy).
617 d40a767d 2022-07-03 thomas Valid values for
618 d40a767d 2022-07-03 thomas .Ev TOG_DIFF_ALGORITHM
619 d40a767d 2022-07-03 thomas are
620 adf4c9e0 2022-07-03 thomas .Dq patience
621 adf4c9e0 2022-07-03 thomas and
622 adf4c9e0 2022-07-03 thomas .Dq myers .
623 adf4c9e0 2022-07-03 thomas If unset, the Myers diff algorithm will be used by default.
624 0b948cdd 2022-07-04 thomas .It Ev TOG_VIEW_SPLIT_MODE
625 569abcd7 2022-07-12 thomas Determines the default layout of split-screen views.
626 0b948cdd 2022-07-04 thomas If set to
627 0b948cdd 2022-07-04 thomas .Dq h
628 569abcd7 2022-07-12 thomas or
629 569abcd7 2022-07-12 thomas .Dq H ,
630 569abcd7 2022-07-12 thomas .Nm
631 569abcd7 2022-07-12 thomas will use horizontal split by default.
632 569abcd7 2022-07-12 thomas Otherwise, vertical split will be used.
633 569abcd7 2022-07-12 thomas The
634 569abcd7 2022-07-12 thomas .Cm S
635 569abcd7 2022-07-12 thomas key can be used to switch between vertical and horizontal split layout
636 569abcd7 2022-07-12 thomas at run-time.
637 6d17833f 2019-11-08 stsp .It Ev TOG_COLORS
638 6d17833f 2019-11-08 stsp .Nm
639 6d17833f 2019-11-08 stsp shows colorized output if this variable is set to a non-empty value.
640 6d17833f 2019-11-08 stsp The default color scheme can be modified by setting the environment
641 6d17833f 2019-11-08 stsp variables documented below.
642 6d17833f 2019-11-08 stsp The colors available in color schemes are
643 6d17833f 2019-11-08 stsp .Dq black ,
644 6d17833f 2019-11-08 stsp .Dq red ,
645 6d17833f 2019-11-08 stsp .Dq green ,
646 6d17833f 2019-11-08 stsp .Dq yellow ,
647 6d17833f 2019-11-08 stsp .Dq blue ,
648 93a300b2 2021-08-26 stsp .Dq magenta ,
649 1d7fe5cd 2019-11-08 stsp .Dq cyan ,
650 6d17833f 2019-11-08 stsp and
651 1d7fe5cd 2019-11-08 stsp .Dq default
652 1d7fe5cd 2019-11-08 stsp which maps to the terminal's default foreground color.
653 6d17833f 2019-11-08 stsp .It Ev TOG_COLOR_DIFF_MINUS
654 6d17833f 2019-11-08 stsp The color used to mark up removed lines in diffs.
655 6d17833f 2019-11-08 stsp If not set, the default value
656 6d17833f 2019-11-08 stsp .Dq magenta
657 6d17833f 2019-11-08 stsp is used.
658 6d17833f 2019-11-08 stsp .It Ev TOG_COLOR_DIFF_PLUS
659 6d17833f 2019-11-08 stsp The color used to mark up added lines in diffs.
660 6d17833f 2019-11-08 stsp If not set, the default value
661 6d17833f 2019-11-08 stsp .Dq cyan
662 6d17833f 2019-11-08 stsp is used.
663 6d17833f 2019-11-08 stsp .It Ev TOG_COLOR_DIFF_CHUNK_HEADER
664 6d17833f 2019-11-08 stsp The color used to mark up chunk header lines in diffs.
665 6d17833f 2019-11-08 stsp If not set, the default value
666 6d17833f 2019-11-08 stsp .Dq yellow
667 6d17833f 2019-11-08 stsp is used.
668 6d17833f 2019-11-08 stsp .It Ev TOG_COLOR_DIFF_META
669 6d17833f 2019-11-08 stsp The color used to mark up meta data in diffs.
670 c0b01bdb 2019-11-08 stsp If not set, the default value
671 c0b01bdb 2019-11-08 stsp .Dq green
672 c0b01bdb 2019-11-08 stsp is used.
673 c0b01bdb 2019-11-08 stsp .It Ev TOG_COLOR_TREE_SUBMODULE
674 93a300b2 2021-08-26 stsp The color used to mark up submodule tree entries.
675 c0b01bdb 2019-11-08 stsp If not set, the default value
676 c0b01bdb 2019-11-08 stsp .Dq magenta
677 c0b01bdb 2019-11-08 stsp is used.
678 c0b01bdb 2019-11-08 stsp .It Ev TOG_COLOR_TREE_SYMLINK
679 c0b01bdb 2019-11-08 stsp The color used to mark up symbolic link tree entries.
680 c0b01bdb 2019-11-08 stsp If not set, the default value
681 91b8c405 2020-01-25 stsp .Dq magenta
682 c0b01bdb 2019-11-08 stsp is used.
683 c0b01bdb 2019-11-08 stsp .It Ev TOG_COLOR_TREE_DIRECTORY
684 c0b01bdb 2019-11-08 stsp The color used to mark up directory tree entries.
685 6d17833f 2019-11-08 stsp If not set, the default value
686 91b8c405 2020-01-25 stsp .Dq cyan
687 c0b01bdb 2019-11-08 stsp is used.
688 c0b01bdb 2019-11-08 stsp .It Ev TOG_COLOR_TREE_EXECUTABLE
689 c0b01bdb 2019-11-08 stsp The color used to mark up executable file tree entries.
690 c0b01bdb 2019-11-08 stsp If not set, the default value
691 6d17833f 2019-11-08 stsp .Dq green
692 6d17833f 2019-11-08 stsp is used.
693 11b20872 2019-11-08 stsp .It Ev TOG_COLOR_COMMIT
694 11b20872 2019-11-08 stsp The color used to mark up commit IDs.
695 11b20872 2019-11-08 stsp If not set, the default value
696 11b20872 2019-11-08 stsp .Dq green
697 11b20872 2019-11-08 stsp is used.
698 11b20872 2019-11-08 stsp .It Ev TOG_COLOR_AUTHOR
699 11b20872 2019-11-08 stsp The color used to mark up author information.
700 11b20872 2019-11-08 stsp If not set, the default value
701 11b20872 2019-11-08 stsp .Dq cyan
702 11b20872 2019-11-08 stsp is used.
703 11b20872 2019-11-08 stsp .It Ev TOG_COLOR_DATE
704 11b20872 2019-11-08 stsp The color used to mark up date information.
705 11b20872 2019-11-08 stsp If not set, the default value
706 11b20872 2019-11-08 stsp .Dq yellow
707 11b20872 2019-11-08 stsp is used.
708 38cb327b 2020-11-24 stsp .It Ev TOG_COLOR_REFS_HEADS
709 38cb327b 2020-11-24 stsp The color used to mark up references in the
710 38cb327b 2020-11-24 stsp .Dq refs/heads/
711 38cb327b 2020-11-24 stsp namespace.
712 38cb327b 2020-11-24 stsp If not set, the default value
713 38cb327b 2020-11-24 stsp .Dq green
714 38cb327b 2020-11-24 stsp is used.
715 38cb327b 2020-11-24 stsp .It Ev TOG_COLOR_REFS_TAGS
716 38cb327b 2020-11-24 stsp The color used to mark up references in the
717 38cb327b 2020-11-24 stsp .Dq refs/tags/
718 38cb327b 2020-11-24 stsp namespace.
719 38cb327b 2020-11-24 stsp If not set, the default value
720 38cb327b 2020-11-24 stsp .Dq magenta
721 38cb327b 2020-11-24 stsp is used.
722 38cb327b 2020-11-24 stsp .It Ev TOG_COLOR_REFS_REMOTES
723 38cb327b 2020-11-24 stsp The color used to mark up references in the
724 38cb327b 2020-11-24 stsp .Dq refs/remotes/
725 38cb327b 2020-11-24 stsp namespace.
726 38cb327b 2020-11-24 stsp If not set, the default value
727 38cb327b 2020-11-24 stsp .Dq yellow
728 38cb327b 2020-11-24 stsp is used.
729 2183bbf6 2022-01-23 thomas .It Ev TOG_COLOR_REFS_BACKUP
730 2183bbf6 2022-01-23 thomas The color used to mark up references in the
731 2183bbf6 2022-01-23 thomas .Dq refs/got/backup/
732 2183bbf6 2022-01-23 thomas namespace.
733 2183bbf6 2022-01-23 thomas If not set, the default value
734 2183bbf6 2022-01-23 thomas .Dq cyan
735 2183bbf6 2022-01-23 thomas is used.
736 6d17833f 2019-11-08 stsp .El
737 030916b5 2018-07-12 stsp .Sh EXIT STATUS
738 030916b5 2018-07-12 stsp .Ex -std tog
739 030916b5 2018-07-12 stsp .Sh SEE ALSO
740 56b9a4ca 2019-06-21 stsp .Xr got 1 ,
741 56b9a4ca 2019-06-21 stsp .Xr git-repository 5 ,
742 56b9a4ca 2019-06-21 stsp .Xr re_format 7
743 030916b5 2018-07-12 stsp .Sh AUTHORS
744 60c73080 2022-07-05 thomas .An Christian Weisgerber Aq Mt naddy@openbsd.org
745 60c73080 2022-07-05 thomas .An Josh Rickmar Aq Mt jrick@zettaport.com
746 bc3056e3 2019-08-18 stsp .An Joshua Stein Aq Mt jcs@openbsd.org
747 60c73080 2022-07-05 thomas .An Mark Jamsek Aq Mt mark@jamsek.dev
748 60c73080 2022-07-05 thomas .An Martin Pieuchot Aq Mt mpi@openbsd.org
749 60c73080 2022-07-05 thomas .An Omar Polo Aq Mt op@openbsd.org
750 60c73080 2022-07-05 thomas .An Stefan Sperling Aq Mt stsp@openbsd.org
751 60c73080 2022-07-05 thomas .An Klemens Nanni Aq Mt kn@openbsd.org