]> git.ipfire.org Git - thirdparty/git.git/commit
submodule: remove extra line feeds between callback struct and macro
authorShourya Shukla <shouryashukla.oo@gmail.com>
Wed, 12 Aug 2020 19:44:01 +0000 (01:14 +0530)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Aug 2020 21:12:58 +0000 (14:12 -0700)
commit6414c3d3166152657ea55b7944303a308b0b2d59
tree91586d4122cbd6d196955105c15165f798113e04
parent7814e8a05a59c0cf5fb186661d1551c75d1299b5
submodule: remove extra line feeds between callback struct and macro

Many `submodule--helper` subcommands follow the convention that a struct
defines their callback data, and the declaration of that struct is
followed immediately by a macro to use in static initializers, without
any separating empty line.

Let's align the `init`, `status` and `sync` subcommands with that convention.

Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Mentored-by: Kaartic Sivaraam <kaartic.sivaraam@gmail.com>
Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Helped-by: Philip Oakley <philipoakley@iee.email>
Signed-off-by: Shourya Shukla <shouryashukla.oo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c