Re: [PATCH] gitweb: fix a couple spelling errors in comments
To
Denis Ovsienko
Cc
git@vger.kernel.org
From
Junio C Hamano
See Also
Prev
Date
2020-01-04 23:51:07 UTC
Denis Ovsienko <denis@ovsienko.info> writes:

> Date: Sat, 4 Jan 2020 17:33:55 +0000
>
> Signed-off-by: Denis Ovsienko <denis@ovsienko.info>
> ---
>  gitweb/gitweb.perl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Both of these typofixes look correct.

By the way, please do not attempt to override the author timestamp
with an in-body header when contributing to this project, as the
time the general public sees the patch on the list is when they
perceive as the time the patch appeared in this world for the first
time, as far as this list is concerned.

Thanks.

>
> diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
> index 0f857d790b..65a3a9e62e 100755
> --- a/gitweb/gitweb.perl
> +++ b/gitweb/gitweb.perl
> @@ -741,7 +741,7 @@ sub evaluate_gitweb_config {
>  	$GITWEB_CONFIG_SYSTEM = "" if ($GITWEB_CONFIG_SYSTEM eq $GITWEB_CONFIG_COMMON);
>  
>  	# Common system-wide settings for convenience.
> -	# Those settings can be ovverriden by GITWEB_CONFIG or GITWEB_CONFIG_SYSTEM.
> +	# Those settings can be overridden by GITWEB_CONFIG or GITWEB_CONFIG_SYSTEM.
>  	read_config_file($GITWEB_CONFIG_COMMON);
>  
>  	# Use first config file that exists.  This means use the per-instance
> @@ -5285,7 +5285,7 @@ sub format_ctx_rem_add_lines {
>  		#    + c
>  		#   +  d
>  		#
> -		# Otherwise the highlightling would be confusing.
> +		# Otherwise the highlighting would be confusing.
>  		if ($is_combined) {
>  			for (my $i = 0; $i < @$add; $i++) {
>  				my $prefix_rem = substr($rem->[$i], 0, $num_parents);