Skip to content

Commit e6145d1

Browse files
taaholgitster
authored andcommitted
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>
1 parent 9ac3f19 commit e6145d1

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Documentation/config/sideband.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ sideband.allowControlCharacters::
1313
Allow control sequences that move the cursor. This is
1414
disabled by default.
1515
`erase`::
16-
Allow control sequences that erase charactrs. This is
16+
Allow control sequences that erase characters. This is
1717
disabled by default.
1818
`false`::
1919
Mask all control characters other than line feeds and

Documentation/git-format-rev.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ OPTIONS
3333
The argument `rev` is also accepted.
3434

3535
`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
3737
names will not be interpreted.
3838
+
3939
Anything that is parsed as an object name but that is not found to be a

date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ void datestamp(struct strbuf *out)
10741074
*
10751075
* The tm->tm_mday field has an additional logic of using negative values
10761076
* 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
10781078
* there's no explicit mday specification in the approxidate string.
10791079
*/
10801080
static time_t update_tm(struct tm *tm, struct tm *now, time_t sec)

replay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct replay_revisions_options {
3232

3333
/*
3434
* 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
3636
* updated to point to the new commits.
3737
*/
3838
const char *onto;

t/t9902-completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@ test_expect_success FUNNYNAMES \
24442444
>repeated-quoted/2-file &&
24452445
>repeated-quoted/3\"file && # ... and here, too.
24462446
2447-
# Still, we shold only list the directory name only once.
2447+
# Still, we should list the directory name only once.
24482448
test_path_completion repeated repeated-quoted
24492449
'
24502450

0 commit comments

Comments
 (0)