author | Johannes Schindelin <johannes.schindelin@gmx.de> | |
Sat, 7 Feb 2009 13:43:03 +0000 (14:43 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 7 Feb 2009 20:49:50 +0000 (12:49 -0800) | ||
commit | f3670a5749d704fe1edee4201f9b23adbf0bf967 | |
tree | f18cd7bcb5e39a69ec4baedf496a544bdf109f19 | tree | snapshot |
parent | 621f1b4bcf40f1469fc59202248df35619e33c82 | commit | diff |
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-ls-files.c | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |