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