Skip to content

Commit 82f9d58

Browse files
author
Junio C Hamano
committed
code comments: spell
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 8943867 commit 82f9d58

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ static int match_digit(const char *date, struct tm *tm, int *offset, int *tm_gmt
326326

327327
/*
328328
* NOTE! We will give precedence to day-of-month over month or
329-
* year numebers in the 1-12 range. So 05 is always "mday 5",
329+
* year numbers in the 1-12 range. So 05 is always "mday 5",
330330
* unless we already have a mday..
331331
*
332332
* IOW, 01 Apr 05 parses as "April 1st, 2005".

diff-index.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static int diff_cache(struct cache_entry **ac, int entries, const char **pathspe
116116
/* We come here with ce pointing at stage 1
117117
* (original tree) and ac[1] pointing at stage
118118
* 3 (unmerged). show-modified with
119-
* report-mising set to false does not say the
119+
* report-missing set to false does not say the
120120
* file is deleted but reports true if work
121121
* tree does not have it, in which case we
122122
* fall through to report the unmerged state.

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ int diff_setup_done(struct diff_options *options)
787787
* so it is safe for us to do this here. Also
788788
* it does not smudge active_cache or active_nr
789789
* when it fails, so we do not have to worry about
790-
* cleaning it up oufselves either.
790+
* cleaning it up ourselves either.
791791
*/
792792
read_cache();
793793
}

epoch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ static void free_mass_counter(struct mass_counter *counter)
190190
* enqueued, enqueuing the commit in a list of pending commits, in latest
191191
* commit date first order.
192192
*
193-
* The algorithm then preceeds to visit each commit in the pending queue.
193+
* The algorithm then proceeds to visit each commit in the pending queue.
194194
* Upon each visit, the pending mass is added to the mass already seen for that
195195
* commit and then divided into N equal portions, where N is the number of
196196
* parents of the commit being visited. The divided portions are then injected

ident.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ static int copy(char *buf, int size, int offset, const char *src)
140140

141141
/*
142142
* Copy the rest to the buffer, but avoid the special
143-
* characters '\n' '<' and '>' that act as delimeters on
143+
* characters '\n' '<' and '>' that act as delimiters on
144144
* a identification line
145145
*/
146146
for (i = 0; i < len; i++) {

ls-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static int excluded_1(const char *pathname,
169169
}
170170
else {
171171
/* match with FNM_PATHNAME:
172-
* exclude has base (baselen long) inplicitly
172+
* exclude has base (baselen long) implicitly
173173
* in front of it.
174174
*/
175175
int baselen = x->baselen;

pack-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static unsigned long write_one(struct sha1file *f,
119119
return offset;
120120
e->offset = offset;
121121
offset += write_object(f, e);
122-
/* if we are delitified, write out its base object. */
122+
/* if we are deltified, write out its base object. */
123123
if (e->delta)
124124
offset = write_one(f, e->delta, offset);
125125
return offset;

0 commit comments

Comments
 (0)