Skip to content

Commit

Permalink
dir.c: Fix two minor grammatical errors in comments
Browse files Browse the repository at this point in the history
Signed-off-by: Allan Caffee <allan.caffee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Allan Caffee authored and Junio C Hamano committed May 6, 2009
1 parent 7dae8b2 commit 2c5b011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ static inline int special_char(unsigned char c1)
}

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

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

0 comments on commit 2c5b011

Please sign in to comment.