<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/perl, branch v2.9.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.9.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.9.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2016-05-17T21:38:20Z</updated>
<entry>
<title>Merge branch 'lp/typofixes'</title>
<updated>2016-05-17T21:38:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-05-17T21:38:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3241d4f6fbaaa13ebb8a85b6e776e3a634f17b24'/>
<id>urn:sha1:3241d4f6fbaaa13ebb8a85b6e776e3a634f17b24</id>
<content type='text'>
* lp/typofixes:
  typofix: assorted typofixes in comments, documentation and messages
</content>
</entry>
<entry>
<title>Git/SVN: die when there is no commit metadata</title>
<updated>2016-05-08T00:50:19Z</updated>
<author>
<name>Christian Couder</name>
<email>christian.couder@gmail.com</email>
</author>
<published>2016-05-07T06:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=523a33ca17c76bee007d7394fb3930266c577c02'/>
<id>urn:sha1:523a33ca17c76bee007d7394fb3930266c577c02</id>
<content type='text'>
When passing a bad --trunk option to `git svn clone`, like for example the
same URL that we are cloning:

  C:\Windows\system32&gt;git svn clone
  https://mycompany.svn.beanstalkapp.com/myproject --no-metadata -A
  c:\temp\svn_to_git_users.txt
  --trunk=https://mycompany.svn.beanstalkapp.com/myproject
  --tags=https://mycompany.svn.beanstalkapp.com/myproject/tags
  --branches=https://mycompany.svn.beanstalkapp.com/myproject/branches
  c:\code\Git_myproject

One gets an "Use of uninitialized value $u in substitution (s///)" error:

  [...]
  W: +empty_dir: branches/20080918_DBDEPLOY/vendor/src/csharp/MS WCSF
  Contrib/src/Services
  W: +empty_dir: branches/20080918_DBDEPLOY/vendor/src/csharp/RealWorldControls/References
  r530 = c276e3b039d8e38759c6fb17443349732552d7a2 (refs/remotes/origin/trunk)
  Found possible branch point:
  https://mycompany.svn.beanstalkapp.com/myproject/trunk =&gt;
  https://mycompany.svn.beanstalkapp.com/myproject/branches/20080918_DBDEPLOY,
  529
  Use of uninitialized value $u in substitution (s///) at
  /mingw32/share/perl5/site_perl/Git/SVN.pm line 101.
  Use of uninitialized value $u in concatenation (.) or string at
  /mingw32/share/perl5/site_perl/Git/SVN.pm line 101.
  refs/remotes/origin/trunk:
  'https://mycompany.svn.beanstalkapp.com/myproject' not found in ''
  C:\Windows\system32&gt;

Let's fix that by just die()ing when we have an uninitialized value because we
cannot get commit metadata from a ref.

Signed-off-by: Christian Couder &lt;chriscool@tuxfamily.org&gt;
Signed-off-by: Eric Wong &lt;e@80x24.org&gt;
</content>
</entry>
<entry>
<title>typofix: assorted typofixes in comments, documentation and messages</title>
<updated>2016-05-06T20:16:37Z</updated>
<author>
<name>Li Peng</name>
<email>lip@dtdream.com</email>
</author>
<published>2016-05-06T12:36:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=832c0e5e63a0f61c3788847d4a7abb82d9e86ef4'/>
<id>urn:sha1:832c0e5e63a0f61c3788847d4a7abb82d9e86ef4</id>
<content type='text'>
Many instances of duplicate words (e.g. "the the path") and
a few typoes are fixed, originally in multiple patches.

    wildmatch: fix duplicate words of "the"
    t: fix duplicate words of "output"
    transport-helper: fix duplicate words of "read"
    Git.pm: fix duplicate words of "return"
    path: fix duplicate words of "look"
    pack-protocol.txt: fix duplicate words of "the"
    precompose-utf8: fix typo of "sequences"
    split-index: fix typo
    worktree.c: fix typo
    remote-ext: fix typo
    utf8: fix duplicate words of "the"
    git-cvsserver: fix duplicate words

Signed-off-by: Li Peng &lt;lip@dtdream.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<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>
</feed>
