Re: [PATCH v2 1/4] pathspec: use is_dir_sep() to check for trailing slashes

2013-09-12 Thread Johannes Sixt
Am 12.09.2013 21:24, schrieb John Keeping: > This allows us to correctly removing trailing backslashes on Windows > when checking for submodules. > > Signed-off-by: John Keeping > --- > pathspec.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/pathspec.c b/pathspe

[PATCH v2 1/4] pathspec: use is_dir_sep() to check for trailing slashes

2013-09-12 Thread John Keeping
This allows us to correctly removing trailing backslashes on Windows when checking for submodules. Signed-off-by: John Keeping --- pathspec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pathspec.c b/pathspec.c index ad1a9f5..7c6963b 100644 --- a/pathspec.c +++ b/path