git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/4] gitweb: Replace wrongly added tabs with spaces

From
Jakub Narebski <jnareb@gmail.com>
Date
May 11, 2009, 17:37 UTC
Message-ID
<20090511173632.15152.80943.stgit@localhost.localdomain>
In-Reply-To
<20090511173025.15152.94215.stgit@localhost.localdomain>

In two places there was hard tab character instead of space. Fix this.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
I have not searched who was responsible for that typo...
 gitweb/gitweb.perl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 8c51f3e..beb79ee 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -3990,7 +3990,7 @@ sub fill_project_list_info {
 			    ($pname !~ /\/$/) &&
 			    (-d "$projectroot/$pname")) {
 				$pr->{'forks'} = "-d $projectroot/$pname";
-			}	else {
+			} else {
 				$pr->{'forks'} = 0;
 			}
 		}
@@ -6282,7 +6282,7 @@ XML
 	# end of feed
 	if ($format eq 'rss') {
 		print "</channel>\n</rss>\n";
-	}	elsif ($format eq 'atom') {
+	} elsif ($format eq 'atom') {
 		print "</feed>\n";
 	}
 }
Previous: Jakub NarebskiNext: Jakub Narebski
Message 2 of 6 in “gitweb: Some code cleanups, part 2 (low hanging fruit)”
  1. 0/4 gitweb: Some code cleanups, part 2 (low hanging fruit)Jakub Narebski, May 11, 2009
  2. 1/4 gitweb: Replace wrongly added tabs with spacesJakub Narebski, May 11, 2009
  3. 2/4 gitweb: Use capturing parentheses only when you intend to captureJakub Narebski, May 11, 2009
  4. 3/4 gitweb: Simplify snapshot format detection logic in evaluate_path_infoJakub Narebski, May 11, 2009
  5. Giuseppe BilottaMay 11, 2009
  6. 4/4 gitweb: Remove unused $hash_base parameter from normalize_link_targetJakub Narebski, May 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.