]> git.ipfire.org Git - thirdparty/git.git/commit
submodule: add newline on invalid submodule error
authorEmily Shaffer <emilyshaffer@google.com>
Fri, 7 Feb 2020 00:48:33 +0000 (16:48 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Feb 2020 19:05:45 +0000 (11:05 -0800)
commit303b3c1c4685c020f5d408c997f060a1f8530895
tree407c69c7f945421c1b0f818d9b015556bc00af55
parentb6d4d82bd5a49197d5d2f4f81c08da0d461cfcf1
submodule: add newline on invalid submodule error

Since 'err' contains output for multiple submodules and is printed all
at once by fetch_populated_submodules(), errors for each submodule
should be newline separated for readability. The same strbuf is added to
with a newline in the other half of the conditional where this error is
detected, so make the two consistent.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.c