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


Greetings, Jonathan Chan!

> 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'

Your URL is invalid.
Try 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:
>     https://github.com/git-for-windows/git/issues/979

> Issue #979 appears to have been fixed in git and included in
> 2.11.1..2.13.1 releases:
>     https://github.com/git/git/commit/7814fbe3f1e7cea1a675408df7b5dd1f5be731cc

> I did not encounter this behavior prior to git-2.12.2-1. This is for x86_64.


-- 
With best regards,
Andrey Repin
Friday, June 23, 2017 12:28:54

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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