parse_pathspec: support stripping submodule trailing slashes
commitb69bb3fc271911317c12fd6ecce6fe1e0301a2b3
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 14 Jul 2013 08:35:33 +0000 (14 15:35 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 17:56:06 +0000 (15 10:56 -0700)
tree74147c602a11573d350e51fadf32ae81f31a4a89
parent6330a171996abbec7dac48788de851aea7d0a18f
parse_pathspec: support stripping submodule trailing slashes

This flag is equivalent to builtin/ls-files.c:strip_trailing_slashes()
and is intended to replace that function when ls-files is converted to
use parse_pathspec.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pathspec.c
pathspec.h