<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/gitweb/gitweb.perl, branch v1.6.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.6.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2008-06-25T20:19:53Z</updated>
<entry>
<title>Merge branch 'lw/gitweb'</title>
<updated>2008-06-25T20:19:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-25T20:19:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=78e996451b5aa5b38318aa613e1c713434c61dbb'/>
<id>urn:sha1:78e996451b5aa5b38318aa613e1c713434c61dbb</id>
<content type='text'>
* lw/gitweb:
  gitweb: standarize HTTP status codes
</content>
</entry>
<entry>
<title>Merge branch 'jn/web'</title>
<updated>2008-06-22T21:31:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-22T21:31:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5389db544defc9cd9415ffb9d8070c3e179610f2'/>
<id>urn:sha1:5389db544defc9cd9415ffb9d8070c3e179610f2</id>
<content type='text'>
* jn/web:
  gitweb: Separate generating 'sort by' table header
  gitweb: Separate filling list of projects info
</content>
</entry>
<entry>
<title>Merge branch 'rg/gitweb'</title>
<updated>2008-06-22T21:31:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-06-22T21:31:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=4eda12f13ad49b355ad7bba821d259aa35287640'/>
<id>urn:sha1:4eda12f13ad49b355ad7bba821d259aa35287640</id>
<content type='text'>
* rg/gitweb:
  gitweb: remove git_blame and rename git_blame2 to git_blame
</content>
</entry>
<entry>
<title>gitweb: standarize HTTP status codes</title>
<updated>2008-06-20T00:43:58Z</updated>
<author>
<name>Lea Wiemann</name>
<email>lewiemann@gmail.com</email>
</author>
<published>2008-06-19T20:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=074afaa0cf69e7d49bc00d969f57893c9ddea748'/>
<id>urn:sha1:074afaa0cf69e7d49bc00d969f57893c9ddea748</id>
<content type='text'>
Many error status codes simply default to 403 Forbidden, which is not
correct in most cases.  This patch makes gitweb return semantically
correct status codes.

For convenience the die_error function now only takes the status code
without reason as first parameter (e.g. 404 instead of "404 Not
Found"), and it now defaults to 500 (Internal Server Error), even
though the default is not used anywhere.

Also documented status code conventions in die_error.

Signed-off-by: Lea Wiemann &lt;LeWiemann@gmail.com&gt;
Acked-by: Jakub Narebski &lt;jnareb@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: remove unused parse_ref method</title>
<updated>2008-06-17T23:39:18Z</updated>
<author>
<name>Lea Wiemann</name>
<email>lewiemann@gmail.com</email>
</author>
<published>2008-06-17T06:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=61fb0b75d138032c7600fe86640897b900f2fd4f'/>
<id>urn:sha1:61fb0b75d138032c7600fe86640897b900f2fd4f</id>
<content type='text'>
The parse_ref method became unused in cd1464083c, but the author
decided to leave it in.  Now it gets in the way of refactoring, so
let's remove it.

Signed-off-by: Lea Wiemann &lt;LeWiemann@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: quote commands properly when calling the shell</title>
<updated>2008-06-17T23:39:09Z</updated>
<author>
<name>Lea Wiemann</name>
<email>lewiemann@gmail.com</email>
</author>
<published>2008-06-17T21:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=516381d50ba7acb66f260461f4d566ab9b6df107'/>
<id>urn:sha1:516381d50ba7acb66f260461f4d566ab9b6df107</id>
<content type='text'>
This eliminates the function git_cmd_str, which was used for composing
command lines, and adds a quote_command function, which quotes all of
its arguments (as in quote.c).

Signed-off-by: Lea Wiemann &lt;LeWiemann@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Make it work with $GIT containing spaces</title>
<updated>2008-06-14T19:48:06Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2008-06-14T18:37:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=66115d363a93b9e7c9b937773c0c30f81b766d45'/>
<id>urn:sha1:66115d363a93b9e7c9b937773c0c30f81b766d45</id>
<content type='text'>
This fixes single point where $GIT (which can contain full path
to git binary) with embedded spaces gave errors.

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: Separate generating 'sort by' table header</title>
<updated>2008-06-11T06:57:37Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2008-06-10T17:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7da0f3a46daac50782a71e8a6eb12355d49c419d'/>
<id>urn:sha1:7da0f3a46daac50782a71e8a6eb12355d49c419d</id>
<content type='text'>
Extract generating table header cell, for tables which can be sorted
by its columns, into print_sort_th_str() and print_sort_th_num()
subroutines, and print_sort_th() driver subroutine.

This avoids repetition, and should make further improvements (like
JavaScript sorting) easier.  The subroutine uses now "replay" link,
so it is generic enough to be able to use it for other tables which
can be sorted by column, like for example 'heads' and 'tags' view
(sort by name, or sort by age).

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: Separate filling list of projects info</title>
<updated>2008-06-11T06:57:36Z</updated>
<author>
<name>Jakub Narebski</name>
<email>jnareb@gmail.com</email>
</author>
<published>2008-06-10T17:21:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=69913415655839b3add5d930ebbea1be8a5b60a9'/>
<id>urn:sha1:69913415655839b3add5d930ebbea1be8a5b60a9</id>
<content type='text'>
Extract filling project list info, i.e. adding age, description, owner
and forks information, into fill_project_list_info() subroutine.  This
is preparation for smart pagination and smart searching (to make it
possible to calculate/generate info only for those projects which will
be shown).

Small changes compared to original version to improve readability
(comments, names of variables, named loops).

Additionally, store both full ('descr_long') and shortened ('descr')
project description in Perl's internal form (using to_utf8).

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: remove git_blame and rename git_blame2 to git_blame</title>
<updated>2008-06-09T21:56:16Z</updated>
<author>
<name>Rafael Garcia-Suarez</name>
<email>rgarciasuarez@gmail.com</email>
</author>
<published>2008-06-06T07:53:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=3a5b919cf220651b681b5f036bf3bd1c61e36ef2'/>
<id>urn:sha1:3a5b919cf220651b681b5f036bf3bd1c61e36ef2</id>
<content type='text'>
git_blame is dead code. It's possible to plug it in place of
git_blame2, but I don't know whether anyone does still that,
because git_blame2 can now be considered stable enough, I think.

Signed-off-by: Rafael Garcia-Suarez &lt;rgarciasuarez@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
