public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Jonathan Chan <jdc.d3v@gmail.com>, cygwin@cygwin.com
Subject: Re: git-2.12.3-1: Cannot push to a remote with a Windows network path URL
Date: Fri, 23 Jun 2017 09:35:00 -0000	[thread overview]
Message-ID: <1289429888.20170623122953@yandex.ru> (raw)
In-Reply-To: <CAN7+SyJeqSOK+y_0PoTJZDiJf5V6LQWhk_6x_Ac+=uYHnOs8mw@mail.gmail.com>

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

  reply	other threads:[~2017-06-23  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-23  1:48 Jonathan Chan
2017-06-23  9:35 ` Andrey Repin [this message]
2017-06-23 20:37   ` Jonathan Chan
2017-10-30 21:11     ` Jonathan Chan
2017-07-03 12:42 ` Adam Dinwoodie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1289429888.20170623122953@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=jdc.d3v@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).