]> Pileus Git - ~andy/git/commitdiff
typofixes: fix misspelt comments
authorMasanari Iida <standby24x7@gmail.com>
Tue, 12 Nov 2013 15:17:42 +0000 (00:17 +0900)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Nov 2013 17:24:27 +0000 (09:24 -0800)
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh
pathspec.c
wrapper.c

index 9f064b6f4f0c209a0315538e48049c2d013316df..73b4c14d4f631b811a20392684a87c6b97daedc7 100755 (executable)
@@ -137,7 +137,7 @@ bisect_start() {
                        # cogito usage, and cogito users should understand
                        # it relates to cg-seek.
                        [ -s "$GIT_DIR/head-name" ] &&
-                               die "$(gettext "won't bisect on seeked tree")"
+                               die "$(gettext "won't bisect on cg-seek'ed tree")"
                        start_head="${head#refs/heads/}"
                        ;;
                *)
index ad1a9f5b28c5119275fbcf9a53e62651190de137..be962d47aa116788f883b5a450e2b87d94151f21 100644 (file)
@@ -193,11 +193,11 @@ static unsigned prefix_pathspec(struct pathspec_item *item,
        magic |= short_magic;
        *p_short_magic = short_magic;
 
-       /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specifed */
+       /* --noglob-pathspec adds :(literal) _unless_ :(glob) is specified */
        if (noglob_global && !(magic & PATHSPEC_GLOB))
                global_magic |= PATHSPEC_LITERAL;
 
-       /* --glob-pathspec is overriden by :(literal) */
+       /* --glob-pathspec is overridden by :(literal) */
        if ((global_magic & PATHSPEC_GLOB) && (magic & PATHSPEC_LITERAL))
                global_magic &= ~PATHSPEC_GLOB;
 
index 9a6aaafaf35bbd6d2a7a97589edfd9b0b12102c7..0cc56368bd8ccef90ff643ce091cae25007eeee7 100644 (file)
--- a/wrapper.c
+++ b/wrapper.c
@@ -133,7 +133,7 @@ void *xcalloc(size_t nmemb, size_t size)
 /*
  * Limit size of IO chunks, because huge chunks only cause pain.  OS X
  * 64-bit is buggy, returning EINVAL if len >= INT_MAX; and even in
- * the absense of bugs, large chunks can result in bad latencies when
+ * the absence of bugs, large chunks can result in bad latencies when
  * you decide to kill the process.
  */
 #define MAX_IO_SIZE (8*1024*1024)