t7400: sync only works on initialized submodules
authorW. Trevor King <wking@tremily.us>
Mon, 3 Dec 2012 12:57:40 +0000 (07:57 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 3 Dec 2012 14:40:54 +0000 (09:40 -0500)
commitedf577af03bd01d3452ab97d7a80958427edff64
tree71b06fdfa3678481d04b84f37be55320b89fdf71
parent28a58d79d329b880a19517e4c34ac83bd48b4f46
t7400: sync only works on initialized submodules

So initialize the submodule before syncing.  It's possible that `sync`
(and other submodule commands) should grow an --init option in the
style of `update`, but I've avoided that for now.

Signed-off-by: W. Trevor King <wking@tremily.us>
t/t7400-submodule-basic.sh