This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git-2.12.3-1: Cannot push to a remote with a Windows network path URL

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
> .git/objects/info/alternates.
>     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'
> Notes:
> - 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[0], 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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]