diff options
author | John Keeping <john@keeping.me.uk> | 2013-09-12 23:25:00 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-13 23:37:35 +0400 |
commit | f8bc2ac3bf2df76ae864041a5496fab6446ad189 (patch) | |
tree | 1189b4c117ba8d6871fd3e5bc00ae6b72d922ec3 /t | |
parent | bb80ee09974667a1db6bbc5e33574ed869b76a88 (diff) |
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