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