Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] More typofixes.

From: Bryan Turner <hidden>
Date: 2016-06-15 22:58:16

quoted hunk
diff --git a/pathspec.c b/pathspec.c
index 6ea0867..27ffe77 100644
--- a/pathspec.c
+++ b/pathspec.c
@@ -40,7 +40,7 @@ void add_pathspec_matches_against_index(const char **pathspec,
 /*
  * Finds which of the given pathspecs match items in the index.
  *
- * This is a one-shot wrapper around add_pathspec_matches_against_index()
+ * This is an one-shot wrapper around add_pathspec_matches_against_index()
  * which allocates, populates, and returns a seen[] array indicating the
  * nature of the "closest" (i.e. most specific) matches which each of the
  * given pathspecs achieves against all items in the index.

diff --git a/builtin/log.c b/builtin/log.c
index 2625f98..01b49b3 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -304,7 +304,7 @@ static void setup_early_output(struct rev_info *rev)
         * tenth of a second, don't even bother doing the
         * early-output thing..
         *
-        * This is a one-time-only trigger.
+        * This is an one-time-only trigger.
         */
        early_output_timer.it_value.tv_sec = 0;
        early_output_timer.it_value.tv_usec = 100000;
These two are not typos. "This is a one-time" is grammatically correct.
quoted hunk
diff --git a/commit-slab.h b/commit-slab.h
index 7d48163..4f1c796 100644
--- a/commit-slab.h
+++ b/commit-slab.h
@@ -22,7 +22,7 @@
  *
  *   Initializes the indegree slab that associates an array of integers
  *   to each commit. 'stride' specifies how big each array is.  The slab
- *   that id initialied by the variant without "_with_stride" associates
+ *   that id initialized by the variant without "_with_stride" associates
  *   each commit with an array of one integer.
  */
To my reading, it seems like that "id" should be "is", in addition to
the typo with "initialized"

That's a pretty impressive list of corrections.

Reviewed-by: Bryan Turner <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help