diff options
author | John Keeping <john@keeping.me.uk> | 2013-09-12 20:25:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-13 12:37:35 -0700 |
commit | f8bc2ac3bf2df76ae864041a5496fab6446ad189 (patch) | |
tree | 1189b4c117ba8d6871fd3e5bc00ae6b72d922ec3 /builtin/reset.c | |
parent | Update draft release notes to 1.8.5 for the second batch of topics (diff) | |
download | tgif-f8bc2ac3bf2df76ae864041a5496fab6446ad189.tar.xz |
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 'builtin/reset.c')
0 files changed, 0 insertions, 0 deletions