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