<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Documentation/gitweb.conf.txt, branch v2.23.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=v2.23.3</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=v2.23.3'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2019-04-22T02:14:45Z</updated>
<entry>
<title>Merge branch 'cb/doco-mono'</title>
<updated>2019-04-22T02:14:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-04-22T02:14:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=6b42805445c3b5714c100ac066697943f2571fd3'/>
<id>urn:sha1:6b42805445c3b5714c100ac066697943f2571fd3</id>
<content type='text'>
Clean-up markup in the documentation suite.

* cb/doco-mono:
  doc: format pathnames and URLs as monospace.
  doc/CodingGuidelines: URLs and paths as monospace
</content>
</entry>
<entry>
<title>doc: format pathnames and URLs as monospace.</title>
<updated>2019-03-13T02:14:22Z</updated>
<author>
<name>Corentin BOMPARD</name>
<email>corentin.bompard@etu.univ-lyon1.fr</email>
</author>
<published>2019-03-06T13:04:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=68ed71b53cf7c58343306566fa6d527cb5fced41'/>
<id>urn:sha1:68ed71b53cf7c58343306566fa6d527cb5fced41</id>
<content type='text'>
Applying CodingGuidelines about monospace on pathnames and URLs.

See Documentation/CodingGuidelines.txt for more information.

Signed-off-by: Corentin BOMPARD &lt;corentin.bompard@etu.univ-lyon1.fr&gt;
Signed-off-by: Nathan BERBEZIER &lt;nathan.berbezier@etu.univ-lyon1.fr&gt;
Signed-off-by: Pablo CHABANNE &lt;pablo.chabanne@etu.univ-lyon1.fr&gt;
Signed-off-by: Matthieu MOY &lt;matthieu.moy@univ-lyon1.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Documentation: turn middle-of-line tabs into spaces</title>
<updated>2019-03-07T00:25:32Z</updated>
<author>
<name>Martin Ågren</name>
<email>martin.agren@gmail.com</email>
</author>
<published>2019-03-06T06:30:18Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8d75a1d183e2cbb4c56c14e59aeda64a87d86a34'/>
<id>urn:sha1:8d75a1d183e2cbb4c56c14e59aeda64a87d86a34</id>
<content type='text'>
These tabs happen to appear in columns where they don't stand out too
much, so the diff here is non-obvious. Some of these are rendered
differently by AsciiDoc and Asciidoctor (although the difference might
be invisible!), which is how I found a few of them. The remainder were
found using `git grep "[a-zA-Z.,)]$TAB[a-zA-Z]"`.

Signed-off-by: Martin Ågren &lt;martin.agren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'do/gitweb-strict-export-conf-doc'</title>
<updated>2019-01-14T23:29:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-01-14T23:29:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3dc50ccf7d5224b5f44108a07aa63e297f370e72'/>
<id>urn:sha1:3dc50ccf7d5224b5f44108a07aa63e297f370e72</id>
<content type='text'>
Doc update.

* do/gitweb-strict-export-conf-doc:
  docs: fix $strict_export text in gitweb.conf.txt
</content>
</entry>
<entry>
<title>docs: fix $strict_export text in gitweb.conf.txt</title>
<updated>2018-12-09T03:28:15Z</updated>
<author>
<name>Denis Ovsienko</name>
<email>denis@ovsienko.info</email>
</author>
<published>2018-12-06T13:10:24Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=f116ee21cdacf5bf2c220464b65a9ca5452e4cae'/>
<id>urn:sha1:f116ee21cdacf5bf2c220464b65a9ca5452e4cae</id>
<content type='text'>
The section discusses $gitweb_export_ok and $gitweb_list, but gitweb
Perl code does not have such variables (this likely hangs over from
GITWEB_EXPORT_OK and GITWEB_LIST respectively). Fix the section to
spell $export_ok and $projects_list like the rest of the document.

Signed-off-by: Denis Ovsienko &lt;denis@ovsienko.info&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>docs/gitweb.conf: config variable typo</title>
<updated>2018-12-09T01:59:55Z</updated>
<author>
<name>Frank Dana</name>
<email>ferdnyc@gmail.com</email>
</author>
<published>2018-12-08T00:26:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=112ea42663c8cb01eb44b19f1461ec85fe03cf8c'/>
<id>urn:sha1:112ea42663c8cb01eb44b19f1461ec85fe03cf8c</id>
<content type='text'>
The documentation for the feature 'snapshot' claimed
"This feature can be configured on a per-repository basis via
repository's `gitweb.blame` configuration variable"

Fixed to specify `gitweb.snapshot` as the variable name.

Signed-off-by: Frank Dana &lt;ferdnyc@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: fix indentation of listing blocks in gitweb.conf.txt</title>
<updated>2018-10-23T03:23:09Z</updated>
<author>
<name>Andreas Heiduk</name>
<email>asheiduk@gmail.com</email>
</author>
<published>2018-10-22T20:45:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=9aab3fcf23c8e0079bec61f356934d596e46948c'/>
<id>urn:sha1:9aab3fcf23c8e0079bec61f356934d596e46948c</id>
<content type='text'>
'gitweb.conf.txt' uses inconsistent indentation in listing blocks and a mix
of listing blocks and literal paragraphs. Both didn't look pretty in the
rendered HTML page.

Signed-off-by: Andreas Heiduk &lt;asheiduk@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: use https links to avoid http redirect</title>
<updated>2017-04-21T05:05:37Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-04-20T20:32:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e52a53df38af37cc32d641bfdeaa43ceb8277eef'/>
<id>urn:sha1:e52a53df38af37cc32d641bfdeaa43ceb8277eef</id>
<content type='text'>
Many sites these days unconditionally redirect http requests
to their https equivalents. Let's make our links https in
the first place to save the client a redirect.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: use highlight's shebang detection</title>
<updated>2016-09-25T23:39:11Z</updated>
<author>
<name>Ian Kelling</name>
<email>ian@iankelling.org</email>
</author>
<published>2016-09-24T22:32:58Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=779a20663230ab068dcbc3c5bc53d44a5e37b0aa'/>
<id>urn:sha1:779a20663230ab068dcbc3c5bc53d44a5e37b0aa</id>
<content type='text'>
The "highlight" binary can, in some cases, determine the language type
by the means of file contents, for example the shebang in the first line
for some scripting languages.  Make use of this autodetection for files
which syntax is not known by gitweb.  In that case, pass the blob
contents to "highlight --force"; the parameter is needed to make it
always generate HTML output (which includes HTML-escaping).

Although we now run highlight on files which do not end up highlighted,
performance is virtually unaffected because when we call highlight, it
is used for escaping HTML.  In the case that highlight is used, gitweb
calls sanitize() instead of esc_html(), and the latter is significantly
slower (it does more, being roughly a superset of sanitize()).  Simple
benchmark comparing performance of 'blob' view of files without syntax
highlighting in gitweb before and after this change indicates ±1%
difference in request time for all file types.  Benchmark was performed
on local instance on Debian, using Apache/2.4.23 web server and CGI.

Document the feature and improve syntax highlight documentation, add
test to ensure gitweb doesn't crash when language detection is used.

Signed-off-by: Ian Kelling &lt;ian@iankelling.org&gt;
Acked-by: Jakub Narębski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>doc: more consistency in environment variables format</title>
<updated>2016-06-08T19:04:37Z</updated>
<author>
<name>Tom Russello</name>
<email>tom.russello@grenoble-inp.org</email>
</author>
<published>2016-06-07T22:35:07Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=47d81b5c7a3e7737d26b877a5cfebb772d75fa12'/>
<id>urn:sha1:47d81b5c7a3e7737d26b877a5cfebb772d75fa12</id>
<content type='text'>
Wrap with backticks (monospaced font) unwrapped or single-quotes wrapped
(italic type) environment variables which are followed by the word
"environment". It was obtained with:

perl -pi -e "s/\'?(\\\$?[0-9A-Z\_]+)\'?(?= environment ?)/\`\1\`/g" *.txt

One of the main purposes is to stick to the CodingGuidelines as possible so
that people writting new documentation by mimicking the existing are more likely
to have it right (even if they didn't read the CodingGuidelines).

Signed-off-by: Tom Russello &lt;tom.russello@grenoble-inp.org&gt;
Signed-off-by: Erwan Mathoniere &lt;erwan.mathoniere@grenoble-inp.org&gt;
Signed-off-by: Samuel Groot &lt;samuel.groot@grenoble-inp.org&gt;
Signed-off-by: Matthieu Moy &lt;matthieu.moy@grenoble-inp.fr&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
