docs: fix typos
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>
Tuomas Ahola committed
Jun 4, 2026 at 16:14 UTC
e6145d12413044f90ee31eb7d83ae209aeb0adff
5 files changed
+5
-5
Documentation/config/sideband.adoc
+1
-1
@@ -13,7 +13,7 @@ sideband.allowControlCharacters::
13
Allow control sequences that move the cursor. This is
14
disabled by default.
15
`erase`::
16
- Allow control sequences that erase charactrs. This is
16
+ Allow control sequences that erase characters. This is
17
disabled by default.
18
`false`::
19
Mask all control characters other than line feeds and
Documentation/git-format-rev.adoc
+1
-1
@@ -33,7 +33,7 @@ OPTIONS
33
The argument `rev` is also accepted.
34
35
`text`;; Formats all commit object names found in freeform text. These
36
- must the full object names, i.e. abbreviated hexidecimal object
36
+ must be full object names, i.e. abbreviated hexadecimal object
37
names will not be interpreted.
38
+
39
Anything that is parsed as an object name but that is not found to be a
date.c
+1
-1
@@ -1074,7 +1074,7 @@ void datestamp(struct strbuf *out)
1074
*
1075
* The tm->tm_mday field has an additional logic of using negative values
1076
* for date adjustments: -2 means yesterday and -3 the day before that,
1077
- * and so on. The idea is to deref such adjustments until we are sure
1077
+ * and so on. The idea is to defer such adjustments until we are sure
1078
* there's no explicit mday specification in the approxidate string.
1079
*/
1080
static time_t update_tm(struct tm *tm, struct tm *now, time_t sec)
replay.h
+1
-1
@@ -32,7 +32,7 @@ struct replay_revisions_options {
32
33
/*
34
* Starting point at which to create the new commits; must be a
35
- * committish. References pointing at decendants of `onto` will be
35
+ * committish. References pointing at descendants of `onto` will be
36
* updated to point to the new commits.
37
*/
38
const char *onto;
t/t9902-completion.sh
+1
-1
@@ -2444,7 +2444,7 @@ test_expect_success FUNNYNAMES \
2444
>repeated-quoted/2-file &&
2445
>repeated-quoted/3\"file && # ... and here, too.
2446
2447
- # Still, we shold only list the directory name only once.
2447
+ # Still, we should list the directory name only once.
2448
test_path_completion repeated repeated-quoted
2449
'
2450