summaryrefslogtreecommitdiff
path: root/builtin/reset.c
diff options
context:
space:
mode:
authorLibravatar John Keeping <john@keeping.me.uk>2013-09-12 20:25:00 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-13 12:37:35 -0700
commitf8bc2ac3bf2df76ae864041a5496fab6446ad189 (patch)
tree1189b4c117ba8d6871fd3e5bc00ae6b72d922ec3 /builtin/reset.c
parentUpdate draft release notes to 1.8.5 for the second batch of topics (diff)
downloadtgif-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