]> git.ipfire.org Git - thirdparty/git.git/commitdiff
docs: fix typos
authorTuomas Ahola <taahol@utu.fi>
Thu, 4 Jun 2026 13:14:57 +0000 (16:14 +0300)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jun 2026 13:27:24 +0000 (22:27 +0900)
Fix some typos and grammar errors in comments and documentation files.

Signed-off-by: Tuomas Ahola <taahol@utu.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/sideband.adoc
Documentation/git-format-rev.adoc
date.c
replay.h
t/t9902-completion.sh

index 96fade7f5fee393f5bb78d922925d937380f2f09..ff007aeb738a3d0a68920882d5d5d048ae51a6af 100644 (file)
@@ -13,7 +13,7 @@ sideband.allowControlCharacters::
                Allow control sequences that move the cursor. This is
                disabled by default.
        `erase`::
-               Allow control sequences that erase charactrs. This is
+               Allow control sequences that erase characters. This is
                disabled by default.
        `false`::
                Mask all control characters other than line feeds and
index c40d52e9f6d108a3770e507c908f75db330f83e2..505a52feccd466537bcc06aa256c71fd183af641 100644 (file)
@@ -33,7 +33,7 @@ OPTIONS
 The argument `rev` is also accepted.
 
 `text`;; Formats all commit object names found in freeform text. These
-       must the full object names, i.e. abbreviated hexidecimal object
+       must be full object names, i.e. abbreviated hexadecimal object
        names will not be interpreted.
 +
 Anything that is parsed as an object name but that is not found to be a
diff --git a/date.c b/date.c
index 05b78d852f0705705b7127083d01845af6c5498a..014065b419aee7a9f37cbb002d5155bc1a20725c 100644 (file)
--- a/date.c
+++ b/date.c
@@ -1074,7 +1074,7 @@ void datestamp(struct strbuf *out)
  *
  * The tm->tm_mday field has an additional logic of using negative values
  * for date adjustments: -2 means yesterday and -3 the day before that,
- * and so on.  The idea is to deref such adjustments until we are sure
+ * and so on.  The idea is to defer such adjustments until we are sure
  * there's no explicit mday specification in the approxidate string.
  */
 static time_t update_tm(struct tm *tm, struct tm *now, time_t sec)
index 1851a07705ab030a61ea651680320237772db02d..faf95c7459e5940ea02375a50e67ee48bee47b33 100644 (file)
--- a/replay.h
+++ b/replay.h
@@ -32,7 +32,7 @@ struct replay_revisions_options {
 
        /*
         * Starting point at which to create the new commits; must be a
-        * committish. References pointing at decendants of `onto` will be
+        * committish. References pointing at descendants of `onto` will be
         * updated to point to the new commits.
         */
        const char *onto;
index 28f61f08fb4cec269d7e9cdd0077da4a0ac404d6..55dc9eabfc42fe6f95dd9362d2e602221682dc07 100755 (executable)
@@ -2444,7 +2444,7 @@ test_expect_success FUNNYNAMES \
        >repeated-quoted/2-file &&
        >repeated-quoted/3\"file &&   # ... and here, too.
 
-       # Still, we shold only list the directory name only once.
+       # Still, we should list the directory name only once.
        test_path_completion repeated repeated-quoted
 '