Skip to content

Commit 2c5b011

Browse files
allancaffeegitster
authored andcommitted
dir.c: Fix two minor grammatical errors in comments
Signed-off-by: Allan Caffee <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7dae8b2 commit 2c5b011

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static inline int special_char(unsigned char c1)
5858
}
5959

6060
/*
61-
* Does 'match' matches the given name?
61+
* Does 'match' match the given name?
6262
* A match is found if
6363
*
6464
* (1) the 'match' string is leading directory of 'name', or
@@ -292,7 +292,7 @@ static void prep_exclude(struct dir_struct *dir, const char *base, int baselen)
292292
dir->basebuf[baselen] = '\0';
293293
}
294294

295-
/* Scan the list and let the last match determines the fate.
295+
/* Scan the list and let the last match determine the fate.
296296
* Return 1 for exclude, 0 for include and -1 for undecided.
297297
*/
298298
static int excluded_1(const char *pathname,

0 commit comments

Comments
 (0)