Blob


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