Re: [PATCH] merge-submodule: reduce output verbosity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Leif Middelschulte <leif.middelschulte@xxxxxxxxx> writes:

> From: Leif Middelschulte <Leif.Middelschulte@xxxxxxxxx>
>
> The output shall behave more similar to ordinary file merges' output to provide
> a more consistent user experience.
>
> Signed-off-by: Leif Middelschulte <Leif.Middelschulte@xxxxxxxxx>
> ---
>  merge-recursive.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Thanks, both.  Very much appreciated.

>
> diff --git a/merge-recursive.c b/merge-recursive.c
> index ac27abbd4..5eb907f46 100644
> --- a/merge-recursive.c
> +++ b/merge-recursive.c
> @@ -1208,7 +1208,7 @@ static int merge_submodule(struct merge_options *o,
>  			output(o, 3, _("Fast-forwarding submodule %s to the following commit:"), path);
>  			output_commit_title(o, commit_b);
>  		} else if (show(o, 2))
> -			output(o, 2, _("Fast-forwarding submodule %s to %s"), path, oid_to_hex(b));
> +			output(o, 2, _("Fast-forwarding submodule %s"), path);
>  		else
>  			; /* no output */
>  
> @@ -1220,7 +1220,7 @@ static int merge_submodule(struct merge_options *o,
>  			output(o, 3, _("Fast-forwarding submodule %s to the following commit:"), path);
>  			output_commit_title(o, commit_a);
>  		} else if (show(o, 2))
> -			output(o, 2, _("Fast-forwarding submodule %s to %s"), path, oid_to_hex(a));
> +			output(o, 2, _("Fast-forwarding submodule %s"), path);
>  		else
>  			; /* no output */



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux