Skip to content
Commit ef41e597 authored by Arnout Vandecappelle's avatar Arnout Vandecappelle Committed by Peter Korsgaard
Browse files

infra: indent the Config.in source-ing of packages



This makes sure that a patch adding a package shows in which menu the
package is added.

Before this commit, the patch has something like this:
> diff --git a/package/Config.in b/package/Config.in
> index 7800f23..433312e 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in"
>  source "package/haveged/Config.in"
>  source "package/mcrypt/Config.in"
>  source "package/mobile-broadband-provider-info/Config.in"
> +source "package/mypackage/Config.in"
>  source "package/shared-mime-info/Config.in"
>  source "package/snowball-init/Config.in"
>  source "package/sound-theme-borealis/Config.in"

[> added to avoid git-am recognizing this as the patch]

After this commit, the function marker shows in which menu the new
package was added:
> diff --git a/package/Config.in b/package/Config.in
> index b1111c8..7e6e1a4 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -864,6 +864,7 @@ menu "Miscellaneous"
>  	source "package/haveged/Config.in"
>  	source "package/mcrypt/Config.in"
>  	source "package/mobile-broadband-provider-info/Config.in"
> +	source "package/mypackage/Config.in"
>  	source "package/shared-mime-info/Config.in"
>  	source "package/snowball-init/Config.in"
>  	source "package/sound-theme-borealis/Config.in"

To keep things consistent, this is done for Config.in.host there, even
though we don't have sub-menus there at the moment.

Signed-off-by: default avatarArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 1ec98a87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment