Windows: Fix handling of absolute unix-style git repository paths.

Note that on Windows a remote with a path like /home/foo/bar
is interpreted by git as being some screwy relative path (relative to what
exactly seems ill-defined -- it seemed relative to C:\Program Files\Git\ in
my tests!) So no attempt has been made to handle such a path sanely, just not
to crash when encountering it.

Note that "C:\\foo" </> "/home/foo/bar" yields /home/foo/bar even though
that is not absolute! I don't know what to make of all this,
except that I will be very happy when this crock of **** vanishes from
the face of the earth.
This commit is contained in:
Joey Hess 2014-02-08 15:31:03 -04:00
parent f068f4e579
commit c95d0cf7a8
6 changed files with 28 additions and 5 deletions

2
debian/changelog vendored
View file

@ -29,12 +29,14 @@ git-annex (5.20140128) UNRELEASED; urgency=medium
* Windows: Fix deletion of repositories by test suite and webapp.
* Windows: Test suite 100% passes again.
* Windows: Fix bug in symlink calculation code.
* Windows: Fix handling of absolute unix-style git repository paths.
* Fix initremote with encryption=pubkey to work with S3, glacier, webdav,
and external special remotes.
* Android: Avoid crashing when unable to set file mode for ssh config file
due to Android filesystem horribleness.
* Avoid building with DAV 0.6 which is badly broken (see #737902).
* Fix build on platforms not supporting the webapp.
* Fix dropping of unused keys with spaces in their name.
-- Joey Hess <joeyh@debian.org> Tue, 28 Jan 2014 13:57:19 -0400