<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AGitWebTabs</id>
	<title>ZhoubaWiki:GitWebTabs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.zhouba.cz/index.php?action=history&amp;feed=atom&amp;title=ZhoubaWiki%3AGitWebTabs"/>
	<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:GitWebTabs&amp;action=history"/>
	<updated>2026-04-04T06:57:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:GitWebTabs&amp;diff=34&amp;oldid=prev</id>
		<title>Garak: Created page with &quot;&lt;pre&gt;  gitweb/gitweb.perl |    4 +++-  1 files changed, 3 insertions(+), 1 deletions(-)  diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a85e2f6..ef92a4f 100755 ---...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.zhouba.cz/index.php?title=ZhoubaWiki:GitWebTabs&amp;diff=34&amp;oldid=prev"/>
		<updated>2021-05-22T16:44:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt;  gitweb/gitweb.perl |    4 +++-  1 files changed, 3 insertions(+), 1 deletions(-)  diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a85e2f6..ef92a4f 100755 ---...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 gitweb/gitweb.perl |    4 +++-&lt;br /&gt;
 1 files changed, 3 insertions(+), 1 deletions(-)&lt;br /&gt;
&lt;br /&gt;
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl&lt;br /&gt;
index a85e2f6..ef92a4f 100755&lt;br /&gt;
--- a/gitweb/gitweb.perl&lt;br /&gt;
+++ b/gitweb/gitweb.perl&lt;br /&gt;
@@ -1465,9 +1465,11 @@ sub unquote {&lt;br /&gt;
 # escape tabs (convert tabs to spaces)&lt;br /&gt;
 sub untabify {&lt;br /&gt;
  my $line = shift;&lt;br /&gt;
+ my $tabwidth = git_get_project_config('tabwidth', '--int');&lt;br /&gt;
+ $tabwidth = 8 if ($tabwidth &amp;lt;= 0);&lt;br /&gt;
 &lt;br /&gt;
  while ((my $pos = index($line, &amp;quot;\t&amp;quot;)) != -1) {&lt;br /&gt;
- if (my $count = (8 - ($pos % 8))) {&lt;br /&gt;
+ if (my $count = ($tabwidth - ($pos % $tabwidth))) {&lt;br /&gt;
  my $spaces = ' ' x $count;&lt;br /&gt;
  $line =~ s/\t/$spaces/;&lt;br /&gt;
  }&lt;br /&gt;
-- &lt;br /&gt;
1.7.0.4 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Garak</name></author>
	</entry>
</feed>