summaryrefslogtreecommitdiff
path: root/src/pathspec.c
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2013-05-13 21:57:37 +0200
committernulltoken <emeric.fermas@gmail.com>2013-05-15 22:41:30 +0200
commit1fed6b07f0722c8b4349ff3709a49df3d3c9ae61 (patch)
tree2c1b791be59a061bebab3392575a0b90dc323b23 /src/pathspec.c
parentf0ab73720a4e7a9b37c901a27519ea65eafeb8a6 (diff)
downloadlibgit2-1fed6b07f0722c8b4349ff3709a49df3d3c9ae61.tar.gz
Fix trailing whitespaces
Diffstat (limited to 'src/pathspec.c')
-rw-r--r--src/pathspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathspec.c b/src/pathspec.c
index d4eb12582..35c79ce82 100644
--- a/src/pathspec.c
+++ b/src/pathspec.c
@@ -141,7 +141,7 @@ bool git_pathspec_match_path(
git_vector_foreach(vspec, i, match) {
int result = (match->flags & GIT_ATTR_FNMATCH_MATCH_ALL) ? 0 : FNM_NOMATCH;
-
+
if (result == FNM_NOMATCH)
result = use_strcmp(match->pattern, path) ? FNM_NOMATCH : 0;