[PATCH 3/3][GSOC] fsck: use is_dot_or_dotdot() instead of strcmp()

2014-03-17 Thread Hiroyuki Sano
The is_dot_or_dotdot() is used to check if the string is either . or ... Signed-off-by: Hiroyuki Sano sh19910...@gmail.com --- fsck.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fsck.c b/fsck.c index b3022ad..c9d7784 100644 --- a/fsck.c +++ b/fsck.c @@ -6,6

Re: [PATCH 3/3][GSOC] fsck: use is_dot_or_dotdot() instead of strcmp()

2014-03-17 Thread Junio C Hamano
Hiroyuki Sano sh19910...@gmail.com writes: The is_dot_or_dotdot() is used to check if the string is either . or ... Signed-off-by: Hiroyuki Sano sh19910...@gmail.com --- fsck.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fsck.c b/fsck.c index