]> git.ipfire.org Git - thirdparty/git.git/commitdiff
code comments: spell
authorJunio C Hamano <junkio@cox.net>
Thu, 29 Dec 2005 09:30:08 +0000 (01:30 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 29 Dec 2005 09:32:56 +0000 (01:32 -0800)
Signed-off-by: Junio C Hamano <junkio@cox.net>
date.c
diff-index.c
diff.c
epoch.c
ident.c
ls-files.c
pack-objects.c

diff --git a/date.c b/date.c
index 3e11500eda5e75a7ec354441fe4a24fd5ebf8bbc..3ede02777b9740df6ef0ecc55da6456c7912758f 100644 (file)
--- 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".
index 0054883a5e18aaacc682bb8369c6f0376cf75306..87e10619830ba71654240d424f15cb6db8ac1d65 100644 (file)
@@ -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 66057e5d6123c52be9baf8571b3d7a43f6bbaf94..17d68fa699f7c88aef8e6c1a0812575bfaec70e1 100644 (file)
--- 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 db44f5ca9f73a75cc266d9b45eda0aca56dd1ede..3a767486da3e92b782bb67601a60921b7c747bff 100644 (file)
--- 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 ac1c27f1998b8245132dced5875e022fe24b93ec..0461b8b2f8148d6642689f8ba91af874f0243a1e 100644 (file)
--- 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++) {
index 5e9ac712af069e773fd7dd562706384b45683753..cd87430127ee01a473695e21dea4c5d36ed99c46 100644 (file)
@@ -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;
index caf3b6be5a1cf85bafd034ed9e2cbe3cd596b26c..c3f25317bbe8f9920220ab276a7605eeab132fb9 100644 (file)
@@ -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;