<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/perl, branch v2.13.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.13.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.13.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-02-21T06:01:59Z</updated>
<entry>
<title>Merge branch 'svn-escape-backslash' of git://bogomips.org/git-svn</title>
<updated>2017-02-21T06:01:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-02-21T06:01:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=80ba04ed9b07c34af9cc644f2183b3b80fd81744'/>
<id>urn:sha1:80ba04ed9b07c34af9cc644f2183b3b80fd81744</id>
<content type='text'>
* 'svn-escape-backslash' of git://bogomips.org/git-svn:
  git-svn: escape backslashes in refnames
</content>
</entry>
<entry>
<title>Merge branch 'va/i18n-perl-scripts'</title>
<updated>2016-12-27T08:11:40Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-12-27T08:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1d73f8e86d7b4d95e0b7ce53eec2a5f8114722ac'/>
<id>urn:sha1:1d73f8e86d7b4d95e0b7ce53eec2a5f8114722ac</id>
<content type='text'>
Porcelain scripts written in Perl are getting internationalized.

* va/i18n-perl-scripts:
  i18n: difftool: mark warnings for translation
  i18n: send-email: mark composing message for translation
  i18n: send-email: mark string with interpolation for translation
  i18n: send-email: mark warnings and errors for translation
  i18n: send-email: mark strings for translation
  i18n: add--interactive: mark status words for translation
  i18n: add--interactive: remove %patch_modes entries
  i18n: add--interactive: mark edit_hunk_manually message for translation
  i18n: add--interactive: i18n of help_patch_cmd
  i18n: add--interactive: mark patch prompt for translation
  i18n: add--interactive: mark plural strings
  i18n: clean.c: match string with git-add--interactive.perl
  i18n: add--interactive: mark strings with interpolation for translation
  i18n: add--interactive: mark simple here-documents for translation
  i18n: add--interactive: mark strings for translation
  Git.pm: add subroutines for commenting lines
</content>
</entry>
<entry>
<title>git-svn: escape backslashes in refnames</title>
<updated>2016-12-23T01:37:36Z</updated>
<author>
<name>Eric Wong</name>
<email>e@80x24.org</email>
</author>
<published>2016-12-23T01:14:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=22af6fef9b6538c9e87e147a920be9509acf1ddd'/>
<id>urn:sha1:22af6fef9b6538c9e87e147a920be9509acf1ddd</id>
<content type='text'>
This brings git-svn refname escaping up-to-date with
commit a4c2e69936df8dd0b071b85664c6cc6a4870dd84
("Disallow '\' in ref names") from May 2009.

Reported-by: Michael Fladischer &lt;michael@fladi.at&gt;
Message-ID: &lt;cb8cd9b1-9882-64d2-435d-40d0b2b82d59@fladi.at&gt;
Signed-off-by: Eric Wong &lt;e@80x24.org&gt;
</content>
</entry>
<entry>
<title>i18n: add--interactive: mark patch prompt for translation</title>
<updated>2016-12-14T19:00:05Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-12-14T12:54:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0539d5e6d535760a99694ff5d5592e46ed929d15'/>
<id>urn:sha1:0539d5e6d535760a99694ff5d5592e46ed929d15</id>
<content type='text'>
Mark prompt message assembled in place for translation, unfolding each
use case for each entry in the %patch_modes hash table.

Previously, this script relied on whether $patch_mode was set to run the
command patch_update_cmd() or show status and loop the main loop. Now,
it uses $cmd to indicate we must run patch_update_cmd() and $patch_mode
is used to tell which flavor of the %patch_modes are we on.  This is
introduced in order to be able to mark and unfold the message prompt
knowing in which context we are.

The tracking of context was done previously by point %patch_mode_flavour
hash table to the correct entry of %patch_modes, focusing only on value
of %patch_modes. Now, we are also interested in the key ('staged',
'stash', 'checkout_head', ...).

Signed-off-by: Vasco Almeida &lt;vascomalmeida@sapo.pt&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: add--interactive: mark plural strings</title>
<updated>2016-12-14T19:00:05Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-12-14T12:54:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4a85c3b8eef8c3b37f5103870e82894d9e5e7d0'/>
<id>urn:sha1:c4a85c3b8eef8c3b37f5103870e82894d9e5e7d0</id>
<content type='text'>
Mark plural strings for translation.  Unfold each action case in one
entire sentence.

Pass new keyword for xgettext to extract.

Update test to include new subroutine __n() for plural strings handling.

Update documentation to include a description of the new __n()
subroutine.

Signed-off-by: Vasco Almeida &lt;vascomalmeida@sapo.pt&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Git.pm: add subroutines for commenting lines</title>
<updated>2016-12-14T19:00:04Z</updated>
<author>
<name>Vasco Almeida</name>
<email>vascomalmeida@sapo.pt</email>
</author>
<published>2016-12-14T12:54:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2db87101fc3b221b1c015e763d80ee82681d8753'/>
<id>urn:sha1:2db87101fc3b221b1c015e763d80ee82681d8753</id>
<content type='text'>
Add subroutines prefix_lines and comment_lines.

Signed-off-by: Vasco Almeida &lt;vascomalmeida@sapo.pt&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-svn: allow "0" in SVN path components</title>
<updated>2016-12-12T18:49:50Z</updated>
<author>
<name>Eric Wong</name>
<email>e@80x24.org</email>
</author>
<published>2016-11-30T00:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a0f5a0c8285395d6eb2123e0c1ce78f900e1567c'/>
<id>urn:sha1:a0f5a0c8285395d6eb2123e0c1ce78f900e1567c</id>
<content type='text'>
Blindly checking a path component for falsiness is unwise, as
"0" is false to Perl, but a valid pathname component for SVN
(or any filesystem).

Found via random code reading.

Signed-off-by: Eric Wong &lt;e@80x24.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'svn-cache' of git://bogomips.org/git-svn</title>
<updated>2016-10-27T22:04:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-27T22:04:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a3228e4a4a621b63419c3e936211a7e1c9cb67a9'/>
<id>urn:sha1:a3228e4a4a621b63419c3e936211a7e1c9cb67a9</id>
<content type='text'>
* 'svn-cache' of git://bogomips.org/git-svn:
  git-svn: do not reuse caches memoized for a different architecture
</content>
</entry>
<entry>
<title>Merge branch 'svn-wt' of git://bogomips.org/git-svn</title>
<updated>2016-10-27T22:03:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-10-27T22:03:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=251641b771c3b8d3ccf1f1cccd71e2c779eae41d'/>
<id>urn:sha1:251641b771c3b8d3ccf1f1cccd71e2c779eae41d</id>
<content type='text'>
* 'svn-wt' of git://bogomips.org/git-svn:
  git-svn: "git worktree" awareness
  git-svn: reduce scope of input record separator change
</content>
</entry>
<entry>
<title>git-svn: do not reuse caches memoized for a different architecture</title>
<updated>2016-10-27T20:17:36Z</updated>
<author>
<name>Gavin Lambert</name>
<email>github@mirality.co.nz</email>
</author>
<published>2016-10-25T15:30:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a2c761ce5b7a5fd8b505b036f3509a9e6617dee8'/>
<id>urn:sha1:a2c761ce5b7a5fd8b505b036f3509a9e6617dee8</id>
<content type='text'>
Reusing cached data speeds up git-svn by quite a fair bit. However, if
the YAML module is unavailable, the caches are written to disk in an
architecture-dependent manner. That leads to problems when upgrading,
say, from 32-bit to 64-bit Git for Windows.

Let's just try to read those caches back if we detect the absence of the
YAML module and the presence of the file, and delete the file if it
could not be read back correctly.

Note that the only way to catch the error when the memoized cache could
not be read back is to put the call inside an `eval { ... }` block
because it would die otherwise; the `eval` block should also return `1`
in case of success explicitly since the function reading back the cached
data does not return an appropriate value to test for success.

This fixes https://github.com/git-for-windows/git/issues/233.

[ew: import "retrieve" explictly, check unlink result]

Signed-off-by: Gavin Lambert &lt;github@mirality.co.nz&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Eric Wong &lt;e@80x24.org&gt;
</content>
</entry>
</feed>
