t7403: sync only works on initialized submodules
authorW. Trevor King <wking@tremily.us>
Mon, 3 Dec 2012 13:07:44 +0000 (08:07 -0500)
committerW. Trevor King <wking@tremily.us>
Mon, 3 Dec 2012 14:42:31 +0000 (09:42 -0500)
commit5bbe48efe8aca2ea61f2a2cbfd7ad7b3e3574317
tree8e844d7b2cb9e88a3d96ddac6a7f986d5a9db1ce
parentedf577af03bd01d3452ab97d7a80958427edff64
t7403: 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/t7403-submodule-sync.sh