The first patch is the important one here, the second one I noticed
while checking if any other commands fail to handle submodule paths with
a trailing slash and is just a simplification.
John Keeping (2):
reset: handle submodule with trailing slash
rm: re-use parse_pathspec's trailing-slash removal
builtin/reset.c | 5 +++++
builtin/rm.c | 20 ++++----------------
t/t7400-submodule-basic.sh | 6 ++++--
3 files changed, 13 insertions(+), 18 deletions(-)
--
1.8.2