summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-29 09:30:08 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-29 09:32:56 (GMT)
commit82f9d58a397e18e824eb0e16ee141e92fbd8d20b (patch)
treee52e68d7b34c731e093a0bc72f3e5de2d5c36909
parent89438677abaae1a8ffc3c0905f3355a590da7bf4 (diff)
downloadgit-82f9d58a397e18e824eb0e16ee141e92fbd8d20b.zip
git-82f9d58a397e18e824eb0e16ee141e92fbd8d20b.tar.gz
git-82f9d58a397e18e824eb0e16ee141e92fbd8d20b.tar.bz2
code comments: spell
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--date.c2
-rw-r--r--diff-index.c2
-rw-r--r--diff.c2
-rw-r--r--epoch.c2
-rw-r--r--ident.c2
-rw-r--r--ls-files.c2
-rw-r--r--pack-objects.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/date.c b/date.c
index 3e11500..3ede027 100644
--- a/date.c
+++ b/date.c
@@ -326,7 +326,7 @@ static int match_digit(const char *date, struct tm *tm, int *offset, int *tm_gmt
/*
* NOTE! We will give precedence to day-of-month over month or
- * year numebers in the 1-12 range. So 05 is always "mday 5",
+ * year numbers in the 1-12 range. So 05 is always "mday 5",
* unless we already have a mday..
*
* IOW, 01 Apr 05 parses as "April 1st, 2005".
diff --git a/diff-index.c b/diff-index.c
index 0054883..87e1061 100644
--- a/diff-index.c
+++ b/diff-index.c
@@ -116,7 +116,7 @@ static int diff_cache(struct cache_entry **ac, int entries, const char **pathspe
/* We come here with ce pointing at stage 1
* (original tree) and ac[1] pointing at stage
* 3 (unmerged). show-modified with
- * report-mising set to false does not say the
+ * report-missing set to false does not say the
* file is deleted but reports true if work
* tree does not have it, in which case we
* fall through to report the unmerged state.
diff --git a/diff.c b/diff.c
index 66057e5..17d68fa 100644
--- a/diff.c
+++ b/diff.c
@@ -787,7 +787,7 @@ int diff_setup_done(struct diff_options *options)
* so it is safe for us to do this here. Also
* it does not smudge active_cache or active_nr
* when it fails, so we do not have to worry about
- * cleaning it up oufselves either.
+ * cleaning it up ourselves either.
*/
read_cache();
}
diff --git a/epoch.c b/epoch.c
index db44f5c..3a76748 100644
--- a/epoch.c
+++ b/epoch.c
@@ -190,7 +190,7 @@ static void free_mass_counter(struct mass_counter *counter)
* enqueued, enqueuing the commit in a list of pending commits, in latest
* commit date first order.
*
- * The algorithm then preceeds to visit each commit in the pending queue.
+ * The algorithm then proceeds to visit each commit in the pending queue.
* Upon each visit, the pending mass is added to the mass already seen for that
* commit and then divided into N equal portions, where N is the number of
* parents of the commit being visited. The divided portions are then injected
diff --git a/ident.c b/ident.c
index ac1c27f..0461b8b 100644
--- a/ident.c
+++ b/ident.c
@@ -140,7 +140,7 @@ static int copy(char *buf, int size, int offset, const char *src)
/*
* Copy the rest to the buffer, but avoid the special
- * characters '\n' '<' and '>' that act as delimeters on
+ * characters '\n' '<' and '>' that act as delimiters on
* a identification line
*/
for (i = 0; i < len; i++) {
diff --git a/ls-files.c b/ls-files.c
index 5e9ac71..cd87430 100644
--- a/ls-files.c
+++ b/ls-files.c
@@ -169,7 +169,7 @@ static int excluded_1(const char *pathname,
}
else {
/* match with FNM_PATHNAME:
- * exclude has base (baselen long) inplicitly
+ * exclude has base (baselen long) implicitly
* in front of it.
*/
int baselen = x->baselen;
diff --git a/pack-objects.c b/pack-objects.c
index caf3b6b..c3f2531 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -119,7 +119,7 @@ static unsigned long write_one(struct sha1file *f,
return offset;
e->offset = offset;
offset += write_object(f, e);
- /* if we are delitified, write out its base object. */
+ /* if we are deltified, write out its base object. */
if (e->delta)
offset = write_one(f, e->delta, offset);
return offset;