submodule update: when using recursion, show full path
authorWilliam Entriken <fulldecent@gmail.com>
Sat, 2 Mar 2013 19:44:59 +0000 (14:44 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Mar 2013 03:46:54 +0000 (19:46 -0800)
commit75bf5e60e8c09075af1e4cd0d68a6d73fdf92c42
treee152a4c856b9b8d33f0b4bab5767d011dd167e24
parente6363a4992637267ef212d7c709ede17d4122e0d
submodule update: when using recursion, show full path

Previously when using update with recursion, only the path for the
inner-most module was printed. Now the path is printed relative to
the directory the command was started from. This now matches the
behavior of submodule foreach.

Signed-off-by: William Entriken <github.com@phor.net>
Acked-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7406-submodule-update.sh