Skip to content

Commit a344b47

Browse files
committed
Merge branch 'ak/typofix-builtins'
Typofix. * ak/typofix-builtins: builtin: fix typos
2 parents a116aba + ed4d4f3 commit a344b47

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

builtin/help.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ static void open_html(const char *path)
542542

543543
static void show_html_page(const char *page)
544544
{
545-
struct strbuf page_path; /* it leaks but we exec bellow */
545+
struct strbuf page_path; /* it leaks but we exec below */
546546

547547
get_html_page_path(&page_path, page);
548548

builtin/ls-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ static int get_common_prefix_len(const char *common_prefix)
507507
common_prefix_len = strlen(common_prefix);
508508

509509
/*
510-
* If the prefix has a trailing slash, strip it so that submodules wont
510+
* If the prefix has a trailing slash, strip it so that submodules won't
511511
* be pruned from the index.
512512
*/
513513
if (common_prefix[common_prefix_len - 1] == '/')

builtin/name-rev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static void set_commit_cutoff(struct commit *commit)
6565
static void adjust_cutoff_timestamp_for_slop(void)
6666
{
6767
if (cutoff) {
68-
/* check for undeflow */
68+
/* check for underflow */
6969
if (cutoff > TIME_MIN + CUTOFF_DATE_SLOP)
7070
cutoff = cutoff - CUTOFF_DATE_SLOP;
7171
else

builtin/receive-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ static int update_shallow_ref(struct command *cmd, struct shallow_info *si)
13391339
}
13401340

13411341
/*
1342-
* NEEDSWORK: we should consolidate various implementions of "are we
1342+
* NEEDSWORK: we should consolidate various implementations of "are we
13431343
* on an unborn branch?" test into one, and make the unified one more
13441344
* robust. !get_sha1() based check used here and elsewhere would not
13451345
* allow us to tell an unborn branch from corrupt ref, for example.

0 commit comments

Comments
 (0)