delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/07/03/08:42:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; q=dns; s=default; b=mLbP
HGgNxBLURPTz/Fd3Pfj0AwHRx7plXkADvinZVgZt4mNLQUsyTB07JND3MqSEbDOg
TOqcui5Kq4KkYfV3mmeoLvqnigY76lBRCUO2/4CHI2YQVyrA0kz3JuI7eEVE8+86
MqrjK8nwfn/5KB9YgsJ21buvZbPGyfD2FeTZoYg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:references
:mime-version:content-type:in-reply-to; s=default; bh=xFc2VqLYrF
kuhGRKhgBCLxnbZl8=; b=IXh/3JN0WDaW0ntRR/WjtCQSgmxsp1QoRTogzcD4xS
+p7YEEswx/caMFQH6n7xs7bv6iLUNzXc2GB+G4HehGC5r5PRiJsQWIqCLNgsiLfB
yWf8voP6ATncpCYyMp72PTAIxQ1R+DrFv8Oz9pVTzDjcN1DbDCumQjlNP33KpikQ
0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Chan, Notes, conversations, D*web.de
X-HELO: mail-wr0-f180.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=T6t7kftPnG+AczNA5cwQIpQTbJyGkrVciIImG2Jwf/Q=; b=EZAzv0FtJYcNjPScRcagnkQaJv5CiCU/FIAWJnVZSD9j8CeWwgkxmOGQ0bVIok1hLz 9ZOcG5GlNy46MXA4SuSdNIBcGJ4c8zI5GAH1k8hBsb9nDVAGp91qu1Yt5ogFEBzgVgmY JaHyW3LjKJxK6/W0exHvl6oAfveF18vFQSiZgkhK7SUkFqPzwYVEW+iu4zUmC3hQC/wU zt0eZJ+uEYi5WZWgavoZ+tCCzo58qcACGz/UCI8TYyIUAFE++VFv2VNDp6NzDZ8fGtft 22WDvi94n54mJ8lGtPSCsM6L03RSQQtpvJBag1/RQYPJmGjYQ9vwj5cKRRadb8QRokgX tjOw==
X-Gm-Message-State: AKS2vOwT4Y/lHBeyol6wr9xL/2baRxXO6l8Y41bgq3RlDXTOIOvrqWPu /0d7frQKlOffb9Gm4uamHQ==
X-Received: by 10.223.176.164 with SMTP id i33mr30451799wra.165.1499085742667; Mon, 03 Jul 2017 05:42:22 -0700 (PDT)
Date: Mon, 3 Jul 2017 13:42:20 +0100
From: Adam Dinwoodie <adam AT dinwoodie DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: git-2.12.3-1: Cannot push to a remote with a Windows network path URL
Message-ID: <20170703124220.GD26574@dinwoodie.org>
References: <CAN7+SyJeqSOK+y_0PoTJZDiJf5V6LQWhk_6x_Ac+=uYHnOs8mw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAN7+SyJeqSOK+y_0PoTJZDiJf5V6LQWhk_6x_Ac+=uYHnOs8mw@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-IsSubscribed: yes

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:
>     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.

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.

[0]: https://public-inbox.org/git/20170701125059 DOT 16210-1-tboegi AT web DOT de/T/

In any case, I'll add this to my tracking list and get it reported
upstream if appropriate.

Adam

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019