Skip to content

Commit 382d20e

Browse files
standby24x7gitster
authored andcommitted
typofixes: fix misspelt comments
Signed-off-by: Masanari Iida <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0ecd94d commit 382d20e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

git-bisect.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ bisect_start() {
137137
# cogito usage, and cogito users should understand
138138
# it relates to cg-seek.
139139
[ -s "$GIT_DIR/head-name" ] &&
140-
die "$(gettext "won't bisect on seeked tree")"
140+
die "$(gettext "won't bisect on cg-seek'ed tree")"
141141
start_head="${head#refs/heads/}"
142142
;;
143143
*)

pathspec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ static unsigned prefix_pathspec(struct pathspec_item *item,
193193
magic |= short_magic;
194194
*p_short_magic = short_magic;
195195

196-
/* --noglob-pathspec adds :(literal) _unless_ :(glob) is specifed */
196+
/* --noglob-pathspec adds :(literal) _unless_ :(glob) is specified */
197197
if (noglob_global && !(magic & PATHSPEC_GLOB))
198198
global_magic |= PATHSPEC_LITERAL;
199199

200-
/* --glob-pathspec is overriden by :(literal) */
200+
/* --glob-pathspec is overridden by :(literal) */
201201
if ((global_magic & PATHSPEC_GLOB) && (magic & PATHSPEC_LITERAL))
202202
global_magic &= ~PATHSPEC_GLOB;
203203

wrapper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void *xcalloc(size_t nmemb, size_t size)
133133
/*
134134
* Limit size of IO chunks, because huge chunks only cause pain. OS X
135135
* 64-bit is buggy, returning EINVAL if len >= INT_MAX; and even in
136-
* the absense of bugs, large chunks can result in bad latencies when
136+
* the absence of bugs, large chunks can result in bad latencies when
137137
* you decide to kill the process.
138138
*/
139139
#define MAX_IO_SIZE (8*1024*1024)

0 commit comments

Comments
 (0)