<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitweb/gitweb.perl, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-07-15T19:04:32Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2010-07-15T19:04:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-07-15T19:04:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c255a70b5ef4e70070b6076c4308da9d163d56a9'/>
<id>urn:sha1:c255a70b5ef4e70070b6076c4308da9d163d56a9</id>
<content type='text'>
* maint:
  Documentation: add submodule.* to the big configuration variable list
  gitmodules.5: url can be a relative path
  gitweb: fix esc_url
</content>
</entry>
<entry>
<title>gitweb: fix esc_url</title>
<updated>2010-07-15T18:59:37Z</updated>
<author>
<name>Pavan Kumar Sunkara</name>
<email>pavan.sss1991@gmail.com</email>
</author>
<published>2010-07-15T07:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=109988f2cb00f78b746d05c40b8a8960bbb12ff8'/>
<id>urn:sha1:109988f2cb00f78b746d05c40b8a8960bbb12ff8</id>
<content type='text'>
Earlier, 452e225 (gitweb: fix esc_param, 2009-10-13) fixed CGI escaping
rules used in esc_url.  A very similar logic exists in esc_param and needs
to be fixed the same way.

Signed-off-by: Pavan Kumar Sunkara &lt;pavan.sss1991@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Move evaluate_gitweb_config out of run_request</title>
<updated>2010-07-05T20:28:20Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2010-07-05T18:52:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=869d58813b24c74e84c9388041eafcef40cb51e4'/>
<id>urn:sha1:869d58813b24c74e84c9388041eafcef40cb51e4</id>
<content type='text'>
Move evaluate_gitweb_config() and evaluate_git_version() out of
run_request() to run(), making them not run one for each request.
This changes how git behaves in FastCGI case.

This change makes it impossible to have config which changes with
request, but I don't think anyone relied on such (hidden action)
behavior.

While at it, reset timer and number of git commands at beginning of
run_request() in new reset_timer() subroutine.  This fixes case when
gitweb was run using FastCGI interface: time is reported for request,
and not for single run of gitweb script.  This changes slightly
behavior in non-FastCGI case: the number of git commands reported is
1 less (running `git --version` one per gitweb is not counted now).

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/gitweb-return-or-exit-cleanup'</title>
<updated>2010-06-22T16:45:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-22T16:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5bfd53629e93113a17fe7d6a7a24554dc3c17cdb'/>
<id>urn:sha1:5bfd53629e93113a17fe7d6a7a24554dc3c17cdb</id>
<content type='text'>
* jn/gitweb-return-or-exit-cleanup:
  gitweb: Return or exit after done serving request

Conflicts:
	gitweb/gitweb.perl
</content>
</entry>
<entry>
<title>Merge branch 'jn/gitweb-fastcgi'</title>
<updated>2010-06-21T13:02:42Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-21T13:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a031d76eebbe85c93f5d4a2a4cafacf417df9bce'/>
<id>urn:sha1:a031d76eebbe85c93f5d4a2a4cafacf417df9bce</id>
<content type='text'>
* jn/gitweb-fastcgi:
  gitweb: Run in FastCGI mode if gitweb script has .fcgi extension
  gitweb: Add support for FastCGI, using CGI::Fast
  gitweb: Put all per-connection code in run() subroutine
</content>
</entry>
<entry>
<title>gitweb: Return or exit after done serving request</title>
<updated>2010-06-14T17:55:38Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2010-06-13T10:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5ed2ec1041b6aeec81b0f0a9775355a9b2c755a6'/>
<id>urn:sha1:5ed2ec1041b6aeec81b0f0a9775355a9b2c755a6</id>
<content type='text'>
Check if there is a caller in top frame of gitweb, and either 'return'
if gitweb code is wrapped in subroutine, or 'exit' if it is not.

This should avoid

  gitweb.cgi: Subroutine git_SOMETHING redefined at gitweb.cgi line NNN

warnings in error_log when running gitweb with mod_perl (using
ModPerl::Registry handler)

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/gitweb-syntax-highlight'</title>
<updated>2010-06-13T18:21:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-06-13T18:21:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a26df4cd2fdad7451d4ec99f8a339b9e107a4728'/>
<id>urn:sha1:a26df4cd2fdad7451d4ec99f8a339b9e107a4728</id>
<content type='text'>
* jn/gitweb-syntax-highlight:
  gitweb: Refactor syntax highlighting support
  gitweb: Syntax highlighting support
</content>
</entry>
<entry>
<title>gitweb: Fix typo in hash key name in %opts in git_header_html</title>
<updated>2010-06-13T17:03:04Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2010-06-12T22:35:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ad709ea985b527adb546f4c841fbd480f2c6bdfd'/>
<id>urn:sha1:ad709ea985b527adb546f4c841fbd480f2c6bdfd</id>
<content type='text'>
The name of the key has to be the same in call site handle_errors_html
and in called subroutine that uses it, i.e. git_header_html.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Run in FastCGI mode if gitweb script has .fcgi extension</title>
<updated>2010-06-11T15:54:35Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2010-06-05T21:11:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=45aa9895c5bef3914b6f3707b983f7a53900ebb7'/>
<id>urn:sha1:45aa9895c5bef3914b6f3707b983f7a53900ebb7</id>
<content type='text'>
If the name of the script ($SCRIPT_NAME or $SCRIPT_FILENAME CGI
environment variable, or __FILE__ literal) ends with '.fcgi'
extension, run gitweb in FastCGI mode, as if it was run with
'--fastcgi' / '--fcgi' option.

This is intended for easy deploying gitweb using FastCGI
interface.

Signed-off-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/gitweb-caching-prep'</title>
<updated>2010-05-21T11:02:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-05-21T11:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=921296d3dabcb0bfe0926a1590cc9f7be42ae3e9'/>
<id>urn:sha1:921296d3dabcb0bfe0926a1590cc9f7be42ae3e9</id>
<content type='text'>
* jn/gitweb-caching-prep:
  gitweb: Move generating page title to separate subroutine
  gitweb: Add custom error handler using die_error
  gitweb: Use nonlocal jump instead of 'exit' in die_error
  gitweb: href(..., -path_info =&gt; 0|1)
  Export more test-related variables when running external tests
</content>
</entry>
</feed>
