<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-cvsserver.perl, branch v2.6.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.6.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-11-04T22:58:05Z</updated>
<entry>
<title>Merge branch 'ak/cvsserver-stabilize-use-of-hash-keys'</title>
<updated>2013-11-04T22:58:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-11-04T22:58:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ec787db662af05eb6b7dcd71bed1548055cf437a'/>
<id>urn:sha1:ec787db662af05eb6b7dcd71bed1548055cf437a</id>
<content type='text'>
* ak/cvsserver-stabilize-use-of-hash-keys:
  cvsserver: Determinize output to combat Perl 5.18 hash randomization
</content>
</entry>
<entry>
<title>cvsserver: Determinize output to combat Perl 5.18 hash randomization</title>
<updated>2013-10-30T17:30:30Z</updated>
<author>
<name>Anders Kaseorg</name>
<email>andersk@MIT.EDU</email>
</author>
<published>2013-10-30T08:44:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9462953ad25f9ad6ef933908c317dcbbfd4397ed'/>
<id>urn:sha1:9462953ad25f9ad6ef933908c317dcbbfd4397ed</id>
<content type='text'>
Perl 5.18 randomizes the seed used by its hash function, so iterating
through hashes results in different orders from run to run:
  http://perldoc.perl.org/perl5180delta.html#Hash-overhaul

This usually broke t9400 (gitcvs.dbname, gitcvs.ext.dbname, when
running cmp on two .sqlite files) and t9402 (check [cvswork3] diff,
when running test_cmp on two diffs).

To fix this, hide the internal order of hashes with sort when sending
output or running database queries.

(An alternative workaround is PERL_HASH_SEED=0, but this seems nicer.)

Signed-off-by: Anders Kaseorg &lt;andersk@mit.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/cvsserver-perm-bit-fix'</title>
<updated>2013-09-18T18:48:02Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-09-18T18:48:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2f46b53957dec3aaca206c6590f5e7f538fabde2'/>
<id>urn:sha1:2f46b53957dec3aaca206c6590f5e7f538fabde2</id>
<content type='text'>
"git cvsserver" computed the permission mode bits incorrectly for
executable files.

* jc/cvsserver-perm-bit-fix:
  cvsserver: pick up the right mode bits
</content>
</entry>
<entry>
<title>cvsserver: pick up the right mode bits</title>
<updated>2013-09-11T16:32:30Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-09-10T22:33:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b48d56cfb006baf12d34b5e3150ba2ec1900e08'/>
<id>urn:sha1:1b48d56cfb006baf12d34b5e3150ba2ec1900e08</id>
<content type='text'>
When determining the file mode from either ls-tree or diff-tree
output, we used to grab these octal mode string (typically 100644 or
100755) and then did

	$git_perms .= "r" if ( $mode &amp; 4 );
	$git_perms .= "w" if ( $mode &amp; 2 );
	$git_perms .= "x" if ( $mode &amp; 1 );

which was already wrong, as (100644 &amp; 4) is very different from
oct("100644") &amp; 4.  An earlier refactoring 2c3af7e7 (cvsserver:
factor out git-log parsing logic, 2012-10-13) further changed it to
pick the third octal digit (10*0*644 or 10*0*755) from the left and
then do the above conversion, which does not make sense, either.

Let's use the third digit from the last of the octal mode string to
make sure we get the executable and read bits right.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Tested-by: Michael Cronenworth &lt;mike@cchtml.com&gt;
</content>
</entry>
<entry>
<title>use 'tree-ish' instead of 'treeish'</title>
<updated>2013-09-04T22:02:56Z</updated>
<author>
<name>Richard Hansen</name>
<email>rhansen@bbn.com</email>
</author>
<published>2013-09-04T19:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bb8040f9f9274d739b894230959134584b156ae5'/>
<id>urn:sha1:bb8040f9f9274d739b894230959134584b156ae5</id>
<content type='text'>
Replace 'treeish' in documentation and comments with 'tree-ish' to
match gitglossary(7).

The only remaining instances of 'treeish' are:
  * variable, function, and macro names
  * "(also treeish)" in the definition of tree-ish in gitglossary(7)

Signed-off-by: Richard Hansen &lt;rhansen@bbn.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Correct common spelling mistakes in comments and tests</title>
<updated>2013-04-12T20:38:40Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2013-04-11T22:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41ccfdd9c931ee71b09f38f4eb19cf44a8e4381d'/>
<id>urn:sha1:41ccfdd9c931ee71b09f38f4eb19cf44a8e4381d</id>
<content type='text'>
Most of these were found using Lucas De Marchi's codespell tool.

Signed-off-by: Stefano Lattarini &lt;stefano.lattarini@gmail.com&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Acked-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-cvsimport: use a lowercase "usage:" string</title>
<updated>2013-02-24T21:31:07Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2013-02-24T00:50:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d2bb624c26a449ff3ac557f3fd5a4bfa30f7b367'/>
<id>urn:sha1:d2bb624c26a449ff3ac557f3fd5a4bfa30f7b367</id>
<content type='text'>
Make the usage string consistent with Git.

Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cvsserver: support -r and sticky tags for most operations</title>
<updated>2012-10-16T23:17:54Z</updated>
<author>
<name>Matthew Ogilvie</name>
<email>mmogilvi_git@miniinfo.net</email>
</author>
<published>2012-10-14T05:42:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=61717661e6ffc8aa4d0928d04edafa0961e6aadb'/>
<id>urn:sha1:61717661e6ffc8aa4d0928d04edafa0961e6aadb</id>
<content type='text'>
  - Split off prepDirForOutput for "update" and "commit".
    Some low level protocol details were changed to more closely
    resemble CVS even in non-tagged cases.  Hopefully it still works
    with finicky clients like Eclipse.
  - Substantial changes to "diff".  The output is now closer to
    standard CVS (including exit status), and can be used as
    a patch, but there are still a number of differences compared
    to CVS.
  - Tweaks to "add", "remove", "status", and "commit".
  - FUTURE: CVS revision numbers for branches simply encode git
    commit IDs in a way that resembles CVS revision numbers,
    dropping all normal CVS structural relations between different
    revision numbers.
  - FUTURE: "log" doesn't try to work properly at all with branches
    and tags.
  - FUTURE: "annotate" probably doesn't work with branches or
    tags either (untested)?

Signed-off-by: Matthew Ogilvie &lt;mmogilvi_git@miniinfo.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cvsserver: Add version awareness to argsfromdir</title>
<updated>2012-10-16T23:17:53Z</updated>
<author>
<name>Matthew Ogilvie</name>
<email>mmogilvi_git@miniinfo.net</email>
</author>
<published>2012-10-14T05:42:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d66e8f8cf33909fe43f58ca5d87de8624986425c'/>
<id>urn:sha1:d66e8f8cf33909fe43f58ca5d87de8624986425c</id>
<content type='text'>
Signed-off-by: Matthew Ogilvie &lt;mmogilvi_git@miniinfo.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>cvsserver: generalize getmeta() to recognize commit refs</title>
<updated>2012-10-16T23:17:53Z</updated>
<author>
<name>Matthew Ogilvie</name>
<email>mmogilvi_git@miniinfo.net</email>
</author>
<published>2012-10-14T05:42:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bfdafa099eb9fd8c3b99f5debdddfa251dcdd855'/>
<id>urn:sha1:bfdafa099eb9fd8c3b99f5debdddfa251dcdd855</id>
<content type='text'>
This allows getmeta() to recognize any commitish (sha1,
tag/branch name, etc).

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