<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitweb, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-04-08T19:00:28Z</updated>
<entry>
<title>Merge branch 'jl/nor-or-nand-and'</title>
<updated>2014-04-08T19:00:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-08T19:00:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d59c12d7ad39f942fc60578ba1e934822f40445b'/>
<id>urn:sha1:d59c12d7ad39f942fc60578ba1e934822f40445b</id>
<content type='text'>
Eradicate mistaken use of "nor" (that is, essentially "nor" used
not in "neither A nor B" ;-)) from in-code comments, command output
strings, and documentations.

* jl/nor-or-nand-and:
  code and test: fix misuses of "nor"
  comments: fix misuses of "nor"
  contrib: fix misuses of "nor"
  Documentation: fix misuses of "nor"
</content>
</entry>
<entry>
<title>comments: fix misuses of "nor"</title>
<updated>2014-03-31T22:29:27Z</updated>
<author>
<name>Justin Lebar</name>
<email>jlebar@google.com</email>
</author>
<published>2014-03-31T22:11:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01689909eb9f8366583c44b325d8d9ba259a2538'/>
<id>urn:sha1:01689909eb9f8366583c44b325d8d9ba259a2538</id>
<content type='text'>
Signed-off-by: Justin Lebar &lt;jlebar@google.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Avoid overflowing page body frame with large images</title>
<updated>2014-02-20T17:50:14Z</updated>
<author>
<name>Andrew Keller</name>
<email>andrew@kellerfarm.com</email>
</author>
<published>2014-02-17T14:25:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46a7471f0e20af9d2efcc4a14c76d537e1551ac9'/>
<id>urn:sha1:46a7471f0e20af9d2efcc4a14c76d537e1551ac9</id>
<content type='text'>
When displaying a blob in gitweb, if it's an image, specify constraints for
maximum display width and height to prevent the image from overflowing the
frame of the enclosing page_body div.

This change assumes that it is more desirable to see the whole image without
scrolling (new behavior) than it is to see every pixel without zooming
(previous behavior).

Signed-off-by: Andrew Keller &lt;andrew@kellerfarm.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Denote non-heads, non-remotes branches</title>
<updated>2013-12-12T20:37:37Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e374747f51736a08d048d3e227053d02b0d28735'/>
<id>urn:sha1:e374747f51736a08d048d3e227053d02b0d28735</id>
<content type='text'>
Given two branches residing in refs/heads/master and refs/wip/feature
the list-of-branches view will present them in following way:
master
feature (wip)

When getting a snapshot of a 'feature' branch, the tarball is going to
have name like 'project-wip-feature-&lt;short hash&gt;.tgz'.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Add a feature for adding more branch refs</title>
<updated>2013-12-12T20:37:37Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d646a9bac7d64c38060e0c252fd87eba6c4d5cf'/>
<id>urn:sha1:8d646a9bac7d64c38060e0c252fd87eba6c4d5cf</id>
<content type='text'>
Allow extra-branch-refs feature to tell gitweb to show refs from
additional hierarchies in addition to branches in the list-of-branches
view.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Return 1 on validation success instead of passed input</title>
<updated>2013-12-12T20:37:36Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23faf546ae59d945848389070507bc418de733b6'/>
<id>urn:sha1:23faf546ae59d945848389070507bc418de733b6</id>
<content type='text'>
Users of validate_* passing "0" might get failures on correct name
because of coercion of "0" to false in code like:
die_error(500, "invalid ref") unless (check_ref_format ("0"));

Also, the validate_foo subs are renamed to is_valid_foo.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>gitweb: Move check-ref-format code into separate function</title>
<updated>2013-12-12T20:37:36Z</updated>
<author>
<name>Krzesimir Nowak</name>
<email>krzesimir@endocode.com</email>
</author>
<published>2013-12-11T11:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c0bc2265ef74331c0314be4a3f148e784800c3de'/>
<id>urn:sha1:c0bc2265ef74331c0314be4a3f148e784800c3de</id>
<content type='text'>
This check will be used in more than one place later.

Signed-off-by: Krzesimir Nowak &lt;krzesimir@endocode.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/gitweb-author-initials'</title>
<updated>2013-09-17T18:42:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-09-17T18:42:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e8717b67fec7ec7c1f8742bb7b75900ab60bbc1a'/>
<id>urn:sha1:e8717b67fec7ec7c1f8742bb7b75900ab60bbc1a</id>
<content type='text'>
* ab/gitweb-author-initials:
  gitweb: Fix the author initials in blame for non-ASCII names
</content>
</entry>
<entry>
<title>Merge branch 'tf/gitweb-ss-tweak'</title>
<updated>2013-09-11T22:00:54Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-09-11T22:00:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=04e3274d6a3dd79be0649d5c13fb0b24edefdbda'/>
<id>urn:sha1:04e3274d6a3dd79be0649d5c13fb0b24edefdbda</id>
<content type='text'>
Tweak Gitweb CSS to layout some elements better.

* tf/gitweb-ss-tweak:
  gitweb: make search help link less ugly
  gitweb: omit the repository owner when it is unset
  gitweb: vertically centre contents of page footer
  gitweb: ensure OPML text fits inside its box
</content>
</entry>
<entry>
<title>gitweb: Fix the author initials in blame for non-ASCII names</title>
<updated>2013-08-30T21:55:04Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2013-08-30T08:37:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fd87004e51df835e5833bfe1bff3ad0137d42227'/>
<id>urn:sha1:fd87004e51df835e5833bfe1bff3ad0137d42227</id>
<content type='text'>
Change the @author_initials feature Jakub added in
v1.6.4-rc2-14-ga36817b to match non-ASCII author initials as intended.

The regexp Jakub added was intended to match
non-ASCII (/\b([[:upper:]])\B/g). But in Perl this doesn't actually
match non-ASCII upper-case characters unless the string being matched
against has the UTF8 flag.

So when we open a pipe to "git blame" we need to mark the file
descriptor we're opening as utf8 explicitly.

So as a result it abbreviates me to "AB" not "ÆAB", entirely because "Æ"
isn't /[[:upper:]]/ unless the string being matched against has the UTF8
flag.

Here's something that demonstrates the issue:

    #!/usr/bin/env perl
    use strict;
    use warnings;

    binmode STDOUT, ':utf8' if $ENV{UTF8};
    open my $fd, "-|", "git", "blame", "--incremental", "--", "Makefile" or die "Can't open: $!";
    binmode $fd, ":utf8" if $ENV{UTF8};
    while (my $line = &lt;$fd&gt;) {
    	next unless my ($author) = $line =~ /^author (.*)/;
    	my @author_initials = ($author =~ /\b([[:upper:]])\B/g);
    	printf "%s (%s)\n",  join("", @author_initials), $author;
    }

When that's run with and without UTF8 being true in the environment it
gives, on git.git:

    $ UTF8=0 perl author-initials.pl | sort | uniq -c |
    sort -nr | head -n 5
         99 JH (Junio C Hamano)
         35 JN (Jonathan Nieder)
         35 JK (Jeff King)
         20 JS (Johannes Schindelin)
         16 AB (Ævar Arnfjörð Bjarmason)
    $ UTF8=1 perl author-initials.pl | sort | uniq -c |
    sort -nr | head -n 5
         99 JH (Junio C Hamano)
         35 JN (Jonathan Nieder)
         35 JK (Jeff King)
         20 JS (Johannes Schindelin)
         16 ÆAB (Ævar Arnfjörð Bjarmason)

Acked-by: Jakub Narębski &lt;jnareb@gmail.com&gt;
Tested-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Tested-by: Simon Ruderich &lt;simon@ruderich.org&gt;

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