From: Junio C Hamano Date: Fri, 27 May 2005 00:52:43 +0000 (-0700) Subject: [PATCH] allow pathspec to end with a slash X-Git-Tag: v0.99~440 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=inline;h=a9c9cef161b26ca610783dd0b180d18956c7b119;hp=a9c9cef161b26ca610783dd0b180d18956c7b119;p=git.git [PATCH] allow pathspec to end with a slash The recent rewrite broke "git-whatchanged -v -p drivers/usb/" but "git-whatchanged -v -p drivers/usb" still works. Just strip out the trailing slashes internally to make it work again. It uses compare-thing-with-number comparison order instead of visual comparison order ;-). Signed-off-by: Junio C Hamano Signed-off-by: Linus Torvalds ---