<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/perl, branch v2.29.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.29.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.29.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2020-07-24T01:00:34Z</updated>
<entry>
<title>git-send-email: die if sendmail.* config is set</title>
<updated>2020-07-24T01:00:34Z</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2020-07-24T00:44:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=dd84e528a34c3822e7ab0473a95e411665b37681'/>
<id>urn:sha1:dd84e528a34c3822e7ab0473a95e411665b37681</id>
<content type='text'>
I've seen several people mis-configure git send-email on their first
attempt because they set the sendmail.* config options - not
sendemail.*. This patch detects this mistake and bails out with a
friendly warning.

Signed-off-by: Drew DeVault &lt;sir@cmpwn.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>perl: make SVN code hash independent</title>
<updated>2020-06-22T18:21:07Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2020-06-22T18:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=94b2ee1aeeb2dbec8383118db74d5c5c0a95476f'/>
<id>urn:sha1:94b2ee1aeeb2dbec8383118db74d5c5c0a95476f</id>
<content type='text'>
There are several places throughout git-svn that use various hard-coded
constants.  For matching object IDs, use the $oid variable.  Compute the
record size we use for our revision storage based on the object ID.

When parsing the revision map format, use a wildcard in the pack format
since we know that the data we're parsing is always exactly the record
size.  This lets us continue to use a constant for the pack format.

Finally, update several comments to reflect the fact that an object ID
may be of one of multiple sizes.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Acked-by: Eric Wong &lt;e@80x24.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>perl: make Git::IndexInfo work with SHA-256</title>
<updated>2020-06-22T18:21:07Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2020-06-22T18:04:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ff508e227c881acf6016c88ddde8158664ee18e3'/>
<id>urn:sha1:ff508e227c881acf6016c88ddde8158664ee18e3</id>
<content type='text'>
Most of the Git modules, git-svn excepted, don't know anything about the
hash algorithm and mostly work.  However, when we're printing an
all-zero object ID in Git::IndexInfo, we need to know the hash length.

Since we don't want to change the API to have that information passed
in, let's query the config to find the hash algorithm and compute the
right value.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Acked-by: Eric Wong &lt;e@80x24.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>perl: create and switch variables for hash constants</title>
<updated>2020-06-22T18:21:07Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2020-06-22T18:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9ab33150a0d14089d0496dd8354d4a969e849571'/>
<id>urn:sha1:9ab33150a0d14089d0496dd8354d4a969e849571</id>
<content type='text'>
git-svn has several variables for SHA-1 constants, including short hash
values and full length hash values.  Since these are no longer SHA-1
specific, let's start them with "oid" instead of "sha1".  Add a
constant, oid_length, which is the length of the hash algorithm in use
in hex.  We use the hex version because overwhelmingly that's what's
used by git-svn.

We don't currently set oid_length based on the repository algorithm, but
we will in a future commit.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Acked-by: Eric Wong &lt;e@80x24.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Fix spelling errors in documentation outside of Documentation/</title>
<updated>2019-11-07T04:42:00Z</updated>
<author>
<name>Elijah Newren</name>
<email>newren@gmail.com</email>
</author>
<published>2019-11-05T17:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=891529792547c55bf8c94ea8831631702492e839'/>
<id>urn:sha1:891529792547c55bf8c94ea8831631702492e839</id>
<content type='text'>
Reported-by: Jens Schleusener &lt;Jens.Schleusener@fossies.org&gt;
Signed-off-by: Elijah Newren &lt;newren@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-svn: trim leading and trailing whitespaces in author name</title>
<updated>2019-09-28T04:51:42Z</updated>
<author>
<name>Tobias Klauser</name>
<email>tklauser@distanz.ch</email>
</author>
<published>2019-09-23T09:55:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4ddd4bddb1d2ef94bb66e2d35b43d0e324237907'/>
<id>urn:sha1:4ddd4bddb1d2ef94bb66e2d35b43d0e324237907</id>
<content type='text'>
In some cases, the svn author names might contain leading or trailing
whitespaces, leading to messages such as:

  Author: user1
   not defined in authors.txt

(the trailing newline leads to the line break). The user "user1" is
defined in authors.txt though, e.g.

  user1 = User &lt;user1@example.com&gt;

Fix this by trimming the author name retreived from svn before using it
in check_author.

Helped-by: Eric Sunshine &lt;sunshine@sunshineco.com&gt;
Signed-off-by: Tobias Klauser &lt;tklauser@distanz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Git.pm: make hash size independent</title>
<updated>2019-04-01T02:57:39Z</updated>
<author>
<name>brian m. carlson</name>
<email>sandals@crustytoothpaste.net</email>
</author>
<published>2019-02-19T00:05:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bcbb44ba053988fcc0d3ddb876c007898f345992'/>
<id>urn:sha1:bcbb44ba053988fcc0d3ddb876c007898f345992</id>
<content type='text'>
The cat_blob function was matching on exactly 40 hex characters.  This
won't work with SHA-256, which uses 64-character hex object IDs.  While
it should be fine to simply match any number of hex characters since the
output is space delimited, be extra safe by matching either exactly 40
or exactly 64 hex characters.

Signed-off-by: brian m. carlson &lt;sandals@crustytoothpaste.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/git-svn-get-record-typofix'</title>
<updated>2018-05-08T06:59:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-08T06:59:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a500a9c4157495593504f5e59138be5a5d0a5590'/>
<id>urn:sha1:a500a9c4157495593504f5e59138be5a5d0a5590</id>
<content type='text'>
"git svn" had a minor thinko/typo which has been fixed.

* ab/git-svn-get-record-typofix:
  git-svn: avoid warning on undef readline()
</content>
</entry>
<entry>
<title>Merge branch 'dj/runtime-prefix'</title>
<updated>2018-05-08T06:59:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2018-05-08T06:59:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=92034a9cd5e71cf686ef66029433bdaba75027b0'/>
<id>urn:sha1:92034a9cd5e71cf686ef66029433bdaba75027b0</id>
<content type='text'>
A build-time option has been added to allow Git to be told to refer
to its associated files relative to the main binary, in the same
way that has been possible on Windows for quite some time, for
Linux, BSDs and Darwin.

* dj/runtime-prefix:
  Makefile: quote $INSTLIBDIR when passing it to sed
  Makefile: remove unused @@PERLLIBDIR@@ substitution variable
  mingw/msvc: use the new-style RUNTIME_PREFIX helper
  exec_cmd: provide a new-style RUNTIME_PREFIX helper for Windows
  exec_cmd: RUNTIME_PREFIX on some POSIX systems
  Makefile: add Perl runtime prefix support
  Makefile: generate Perl header from template file
</content>
</entry>
<entry>
<title>Makefile: add Perl runtime prefix support</title>
<updated>2018-04-11T09:09:56Z</updated>
<author>
<name>Dan Jacques</name>
<email>dnj@google.com</email>
</author>
<published>2018-04-10T15:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=07d90eadb50ee687a7313186b654975b0944a74e'/>
<id>urn:sha1:07d90eadb50ee687a7313186b654975b0944a74e</id>
<content type='text'>
Broaden the RUNTIME_PREFIX flag to configure Git's Perl scripts to
locate the Git installation's Perl support libraries by resolving
against the script's path, rather than hard-coding that path at
build-time. Hard-coding at build time worked on previous
RUNTIME_PREFIX configurations (i.e., Windows) because the Perl
scripts were run within a virtual filesystem whose paths were
consistent regardless of the location of the actual installation.
This will no longer be the case for non-Windows RUNTIME_PREFIX users.

When enabled, RUNTIME_PREFIX now requires Perl's system paths to be
expressed relative to a common installation directory in the Makefile,
and uses that relationship to locate support files based on the known
starting point of the script being executed, much like RUNTIME_PREFIX
does for the Git binary.

This change enables Git's Perl scripts to work when their Git installation
is relocated or moved to another system, even when they are not in a
virtual filesystem environment.

Signed-off-by: Dan Jacques &lt;dnj@google.com&gt;
Thanks-to: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Thanks-to: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
