<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/perl, branch v2.8.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.8.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.8.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-03-15T01:35:39Z</updated>
<entry>
<title>git-svn: shorten glob error message</title>
<updated>2016-03-15T01:35:39Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2016-01-14T03:59:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62335bbbc747c96636b5ce9917b156304c732eaf'/>
<id>urn:sha1:62335bbbc747c96636b5ce9917b156304c732eaf</id>
<content type='text'>
Error messages should attempt to fit within the confines of
an 80-column terminal to avoid compatibility and accessibility
problems.  Furthermore the word "directories" can be misleading
when used in the context of git refnames.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>git-svn: loosen config globs limitations</title>
<updated>2016-03-15T01:35:38Z</updated>
<author>
<name>Victor Leschuk</name>
<email>vleschuk@gmail.com</email>
</author>
<published>2016-01-11T14:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e4e5dd94e6eea4b50d8baed8b6b8cc50f6c8eae4'/>
<id>urn:sha1:e4e5dd94e6eea4b50d8baed8b6b8cc50f6c8eae4</id>
<content type='text'>
Expand the area of globs applicability for branches and tags
in git-svn. It is now possible to use globs like 'a*e', or 'release_*'.
This allows users to avoid long lines in config like:

	branches = branches/{release_20,release_21,release_22,...}

In favor of:

	branches = branches/release_*

[ew: amended commit message, minor formatting and style fixes]

Signed-off-by: Victor Leschuk &lt;vleschuk@accesssoftek.com&gt;
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>git-svn: apply "svn.pathnameencoding" before URL encoding</title>
<updated>2016-02-22T02:29:36Z</updated>
<author>
<name>Kazutoshi Satoda</name>
<email>k_satoda@f2.dion.ne.jp</email>
</author>
<published>2016-02-08T15:21:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1b42f45255de5844b7fe8d0c60fea74cd5b9f954'/>
<id>urn:sha1:1b42f45255de5844b7fe8d0c60fea74cd5b9f954</id>
<content type='text'>
The conversion from "svn.pathnameencoding" to UTF-8 should be applied
first, and then URL encoding should be applied on the resulting UTF-8
path. The reversed order of these transforms (used before this fix)
makes non-UTF-8 URL which causes error from Subversion such as
"Filesystem has no item: '...' path not found" when sending a rename (or
a copy) from non-ASCII path.

[ew: t9115 test case added (requires SVN_HTTPD_PORT set to test),
 squash LC_ALL=$a_utf8_locale export from Kazutoshi for Cygwin]

Signed-off-by: Kazutoshi SATODA &lt;k_satoda@f2.dion.ne.jp&gt;
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>git-svn: enable "svn.pathnameencoding" on dcommit</title>
<updated>2016-02-22T02:28:34Z</updated>
<author>
<name>Kazutoshi Satoda</name>
<email>k_satoda@f2.dion.ne.jp</email>
</author>
<published>2016-02-08T15:20:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=40f47448a91666be8e2befe521525f3f507344f9'/>
<id>urn:sha1:40f47448a91666be8e2befe521525f3f507344f9</id>
<content type='text'>
Without the initialization of $self-&gt;{pathnameencoding}, conversion in
repo_path() is always skipped as $self-&gt;{pathnameencoding} is undefined
even if "svn.pathnameencoding" is configured.

The lack of conversion results in mysterious failure of dcommit (e.g.
"Malformed XML") which happen only when a commit involves a change on
non-ASCII path.

[ew: add test case to t9115,
 squash LC_ALL=$a_utf8_locale export from Kazutoshi for Cygwin]

Signed-off-by: Kazutoshi SATODA &lt;k_satoda@f2.dion.ne.jp&gt;
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/mingw-tests'</title>
<updated>2016-02-17T18:13:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-17T18:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b589e5b28af077ddbdd5b72b6217c7447d45cb5'/>
<id>urn:sha1:4b589e5b28af077ddbdd5b72b6217c7447d45cb5</id>
<content type='text'>
Test scripts have been updated to remove assumptions that are not
portable between Git for POSIX and Git for Windows, or to skip ones
with expectations that are not satisfiable on Git for Windows.

* js/mingw-tests: (21 commits)
  gitignore: ignore generated test-fake-ssh executable
  mingw: do not bother to test funny file names
  mingw: skip a test in t9130 that cannot pass on Windows
  mingw: handle the missing POSIXPERM prereq in t9124
  mingw: avoid illegal filename in t9118
  mingw: mark t9100's test cases with appropriate prereqs
  t0008: avoid absolute path
  mingw: work around pwd issues in the tests
  mingw: fix t9700's assumption about directory separators
  mingw: skip test in t1508 that fails due to path conversion
  tests: turn off git-daemon tests if FIFOs are not available
  mingw: disable mkfifo-based tests
  mingw: accomodate t0060-path-utils for MSYS2
  mingw: fix t5601-clone.sh
  mingw: let lstat() fail with errno == ENOTDIR when appropriate
  mingw: try to delete target directory before renaming
  mingw: prepare the TMPDIR environment variable for shell scripts
  mingw: factor out Windows specific environment setup
  Git.pm: stop assuming that absolute paths start with a slash
  mingw: do not trust MSYS2's MinGW gettext.sh
  ...
</content>
</entry>
<entry>
<title>Merge branch 'ew/svn-1.9.0-auth'</title>
<updated>2016-02-01T23:14:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-02-01T23:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6d579a0de63157b771958c30c0d8a28cfafa7574'/>
<id>urn:sha1:6d579a0de63157b771958c30c0d8a28cfafa7574</id>
<content type='text'>
* ew/svn-1.9.0-auth:
  git-svn: fix auth parameter handling on SVN 1.9.0+
</content>
</entry>
<entry>
<title>git-svn: fix auth parameter handling on SVN 1.9.0+</title>
<updated>2016-01-27T06:30:02Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2016-01-16T10:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0b6641557ccfdbd855c88b7980c1a24224b83c74'/>
<id>urn:sha1:0b6641557ccfdbd855c88b7980c1a24224b83c74</id>
<content type='text'>
For users with "store-passwords = no" set in the "[auth]" section of
their ~/.subversion/config, SVN 1.9.0+ would fail with the
following message when attempting to call svn_auth_set_parameter:

  Value is not a string (or undef) at Git/SVN/Ra.pm

Ironically, this breakage was caused by r1553823 in subversion:

  "Make svn_auth_set_parameter() usable from Perl bindings."

Since 2007 (602015e0e6ec), git-svn has used a workaround to make
svn_auth_set_parameter usable internally.  However this workaround
breaks under SVN 1.9+, which deals properly with the type mapping
and fails to recognize our workaround.

For pre-1.9.0 SVN, we continue to use the existing workaround for
the lack of proper type mapping in the bindings.

Tested under subversion 1.6.17 and 1.9.3.

I've also verified r1553823 was not backported to SVN 1.8.x:

  BRANCH=http://svn.apache.org/repos/asf/subversion/branches/1.8.x
  svn log -v $BRANCH/subversion/bindings/swig/core.i

ref: https://bugs.debian.org/797705
Cc: 797705@bugs.debian.org
Reported-by: Thierry Vignaud &lt;thierry.vignaud@gmail.com&gt;
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Tested-by: Thierry Vignaud &lt;thierry.vignaud@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Git.pm: stop assuming that absolute paths start with a slash</title>
<updated>2016-01-26T21:42:59Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2016-01-26T14:34:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=888ab716adff5babae718e4e4cb83b3c3a5f1bc5'/>
<id>urn:sha1:888ab716adff5babae718e4e4cb83b3c3a5f1bc5</id>
<content type='text'>
On Windows, absolute paths never start with a slash, unless a POSIX
emulation layer is used. The latter is the case for MSYS2's Perl that
Git for Windows leverages. However, in the tests we also go through
plain `git.exe`, which does *not* leverage the POSIX emulation layer,
and therefore the paths we pass to Perl may actually be DOS-style paths
such as C:/Program Files/Git.

So let's just use Perl's own way to test whether a given path is
absolute or not instead of home-brewing our own.

This patch partially fixes t7800 and t9700 when running in Git for
Windows' SDK.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-svn: improve rebase/mkdirs performance</title>
<updated>2015-11-10T01:35:01Z</updated>
<author>
<name>Dair Grant</name>
<email>dair@feralinteractive.com</email>
</author>
<published>2015-11-05T10:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=82625748223dd8977f6c1b8cfe53f7353399bd34'/>
<id>urn:sha1:82625748223dd8977f6c1b8cfe53f7353399bd34</id>
<content type='text'>
Processing empty_dir directives becomes extremely slow for svn
repositories with a large enough history.

This is due to using a single hash to store the list of empty
directories, with the expensive step being purging items from
that hash using grep+delete.

Storing directories in a hash of hashes improves the performance
of this purge step and removes a potentially lengthy delay after
every rebase/mkdirs command.

The svn repository with this behaviour has 110K commits with
unhandled.log containing 170K empty_dir directives.

This takes 10 minutes to process when using a single hash, vs
3 seconds with a hash of hashes.

Signed-off-by: Dair Grant &lt;dair@feralinteractive.com&gt;
Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
</content>
</entry>
<entry>
<title>send-email: reduce dependencies impact on parse_address_line</title>
<updated>2015-07-07T21:38:20Z</updated>
<author>
<name>Remi Lespinet</name>
<email>remi.lespinet@ensimag.grenoble-inp.fr</email>
</author>
<published>2015-07-07T13:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d314d7afec5adaaa8e22332e39fe84a39584653'/>
<id>urn:sha1:8d314d7afec5adaaa8e22332e39fe84a39584653</id>
<content type='text'>
parse_address_line had not the same behavior whether the user had
Mail::Address or not. Teach parse_address_line to behave like
Mail::Address.

When the user input is correct, this implementation behaves
exactly like Mail::Address except when there are quotes
inside the name:

  "Jane Do"e &lt;jdoe@example.com&gt;

In this case the result of parse_address_line is:

  With M::A : "Jane Do" e &lt;jdoe@example.com&gt;
  Without   : "Jane Do e" &lt;jdoe@example.com&gt;

When the user input is not correct, the behavior is also mostly
the same.

Unlike Mail::Address, this doesn't parse groups and recursive
commentaries.

Signed-off-by: Remi Lespinet &lt;remi.lespinet@ensimag.grenoble-inp.fr&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
