pathspec: fix pathspecs with '/' at the end
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 May 2005 22:17:58 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 May 2005 22:17:58 +0000 (15:17 -0700)
commit1d9e6f92bc6a1a1a37d187db72dcc02642ba04f6
tree22a7fb79d793980a84b4c7c50a0a8e9496ba2369
parent381ca9a3bcfb6eae40340ecd683b189fd5781f14
pathspec: fix pathspecs with '/' at the end

Removing (and ignoring) them is wrong, since that means
that a pathspec of "xxxx/" would match a regular filename
of "xxxx", which is obviously incorrect.
diffcore-pathspec.c