summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-09-12 20:25:00 +0100
committerJunio C Hamano <gitster@pobox.com>2013-09-13 12:37:35 -0700
commitf8bc2ac3bf2df76ae864041a5496fab6446ad189 (patch)
tree1189b4c117ba8d6871fd3e5bc00ae6b72d922ec3 /t
parentbb80ee09974667a1db6bbc5e33574ed869b76a88 (diff)
downloadgit-f8bc2ac3bf2df76ae864041a5496fab6446ad189.tar.gz
rm: re-use parse_pathspec's trailing-slash removal
Instead of re-implementing the "remove trailing slashes" loop in builtin/rm.c just pass PATHSPEC_STRIP_SUBMODULE_SLASH_CHEAP to parse_pathspec. Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions