diff mbox series

gitweb: fix a couple spelling errors in comments

Message ID 20200104173923.45537050@basepc (mailing list archive)
State New, archived
Headers show
Series gitweb: fix a couple spelling errors in comments | expand

Commit Message

Denis Ovsienko Jan. 4, 2020, 5:39 p.m. UTC
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(-)

Comments

Junio C Hamano Jan. 4, 2020, 11:51 p.m. UTC | #1
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);
diff mbox series

Patch

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);