This is the mail archive of the
mailing list for the Cygwin project.
Re: git-2.12.3-1: Cannot push to a remote with a Windows network path URL
- From: Adam Dinwoodie <adam at dinwoodie dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 3 Jul 2017 13:42:20 +0100
- Subject: Re: git-2.12.3-1: Cannot push to a remote with a Windows network path URL
- Authentication-results: sourceware.org; auth=none
- References: <CAN7+SyJeqSOK+y_0PoTJZDiJf5V6LQWhk_6x_Ac+=uYHnOs8mw@mail.gmail.com>
On Thu, Jun 22, 2017 at 06:48:32PM -0700, Jonathan Chan wrote:
> After updating to git-2.12.3-1, I have been unable to push to a remote
> with a Windows network path URL:
> $ git push origin
> Counting objects: 3, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (2/2), done.
> Writing objects: 100% (3/3), 273 bytes | 0 bytes/s, done.
> Total 3 (delta 1), reused 1 (delta 0)
> remote: error: object directory
> /network/path/to/git-repository/objects does not exist; check
> remote: fatal: unresolved deltas left after unpacking
> error: remote unpack failed: unpack-objects abnormal exit
> To file:////network/path/to/git-repository
> ! [remote rejected] master -> master (unpacker error)
> error: failed to push some refs to 'file:////network/path/to/git-repository'
> - Fetching works
> - Pushing works if I use EGit (in Eclipse)
> - Pushing works if I change the remote URL to use a drive mapped to
> the network path
> Additional searching turned up Issue #979 on git-for-windows:
> Issue #979 appears to have been fixed in git and included in
> 2.11.1..2.13.1 releases:
> I did not encounter this behavior prior to git-2.12.2-1. This is for x86_64.
So it sounds like this bug was introduced by the upstream 7814fbe
commit, although I've not explicitly verified that. There are currently
some related conversations going on at the Git mailing list, which
sound like they may produce something that improves things here.
In any case, I'll add this to my tracking list and get it reported
upstream if appropriate.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple