]> Kevux Git Server - rit/commit
git-submodule.sh: break overly long command lines
authorPatrick Steinhardt <ps@pks.im>
Thu, 8 Aug 2024 07:35:27 +0000 (09:35 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Aug 2024 16:20:48 +0000 (09:20 -0700)
commitd9ab8788e1dbc47968235b33a051e76c735961b0
tree4ca29f5d1470ce6927aae8e88bf5d78803d05aae
parent406f326d271e0bacecdb00425422c5fa3f314930
git-submodule.sh: break overly long command lines

For most of the subcommands of git-submodule(1), we end up passing a
bunch of arguments to the submodule helper. This quickly leads to overly
long lines, where it becomes hard to spot what has changed when one
needs to modify them.

Break up these lines into one argument per line, similarly to how it is
done for the "clone" subcommand already.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh