Let ls-files strip trailing slashes in submodules' paths
commit2bff02915466796c36d93ac17435f4256c46403f
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Feb 2009 12:53:42 +0000 (7 13:53 +0100)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Sat, 7 Feb 2009 13:33:57 +0000 (7 14:33 +0100)
treebdb3a8316f7fd96c2044135acd559b8a6cf8bf2c
parent1f8a288588b5d89bdc011e633ff5f905bff6c12f
Let ls-files strip trailing slashes in submodules' paths

Tab completion makes it easy to add a trailing slash to a submodule path.
As it is completely clear what the user actually wanted to say, be nice
and strip that slash at the end.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
builtin-ls-files.c
t/t7400-submodule-basic.sh