"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Matthias Schmidt <openbsd@xosc.org>
Subject:
Smaller got.1 fixes
To:
gameoftrees@openbsd.org
Date:
Sun, 22 Feb 2026 20:15:45 +0100

Download raw body.

Thread
  • Matthias Schmidt:

    Smaller got.1 fixes

Hi,

I noticed some glitches while looking at the web version of got.1.
The patch does the following:

- Replace non-existing macro .Xs with .Sx
- Remove a trailing whitespace
- Add newline.  Otherwise, the sentence is displayed wrong in the web
  version.  It's not visible via man(1) but still a bug.

There is also a self-reference to got(1) which could be replaced with
.Nm.  It can be debated if this needs fixing or is the right wording.
I included another patch at the end in case you want to fix this
as well.  Otherwise, discard the patch.

Cheers

	Matthias

diff /tmp/got
path + /tmp/got
commit - 9456c7974d487ec39d90e4fd16887cf464d3841e
blob - 87671dede78b2d050d4fca74dd25d9f3e303949c
file + got/got.1
--- got/got.1
+++ got/got.1
@@ -1900,7 +1900,7 @@ are as follows:
 .It Fl I
 Add files even if they match an ignore pattern.
 See
-.Xs Ignore Patterns .
+.Sx Ignore Patterns .
 .It Fl R
 Permit recursion into directories.
 If this option is not specified,
@@ -3871,7 +3871,7 @@ Unlike
 does not support negated ignore patterns prefixed with
 .Dq \&! ,
 and does not match patterns at arbitrary depth relative to the
-.Pa .gitignore 
+.Pa .gitignore
 file unless they begin with
 .Dq **/ .
 For better
@@ -3899,7 +3899,8 @@ attempts to reject
 .Ev GOT_AUTHOR
 environment variables with a missing email address.
 .Pp
-.Ev GOT_AUTHOR will be overridden by configuration settings in
+.Ev GOT_AUTHOR
+will be overridden by configuration settings in
 .Xr got.conf 5
 or by Git's
 .Dv user.name
 

diff /tmp/got
path + /tmp/got
commit - 9456c7974d487ec39d90e4fd16887cf464d3841e
blob - 2ca9955a1a379494c84db35cbe1e91a032263d6c (staged)
file + got/got.1
--- got/got.1
+++ got/got.1
@@ -91,7 +91,7 @@ a local directory.
 Alternatively, on a server running
 .Xr gotd 8 ,
 the new repository can be made available to
-.Xr got 1
+.Nm
 or
 .Xr git 1
 clients by adding the repository to