git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: <thomas.attwood@stfc.ac.uk>
To: <git@vger.kernel.org>
Subject: git 2.11.0 error when pushing to remote located on a windows share
Date: Fri, 2 Dec 2016 18:02:16 +0000	[thread overview]
Message-ID: <AABB04BF1441D24CB4E9FCF46394F17D666F34E1@exchmbx01> (raw)

After updating git from 2.10.0 to 2.11.0 when trying to push any changes to a repo located in a windows share, the following error occurs:

$ git push origin test
Counting objects: 2, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 284 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 1 (delta 0)
remote: error: object directory /path/to/dir/objects does not exist; check .git/objects/info/alternates.
remote: fatal: unresolved deltas left after unpacking
error: unpack failed: unpack-objects abnormal exit
To //path/to/dir
 ! [remote rejected] test -> test (unpacker error)
error: failed to push some refs to '//path/to/dir'


No error occurs if pushing to the same repo (a direct copy into a local directory) using 2.11.0.

$ git push local_test test
Counting objects: 2, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (2/2), 284 bytes | 0 bytes/s, done.
Total 2 (delta 1), reused 1 (delta 0)
To C:/path/to/dir
 * [new branch]      test -> test

---

git remotes:

$ git remote -v
local_test      C:/path/to/dir (fetch)
local_test      C:/path/to/dir (push)
origin  //path/to/dir (fetch)
origin  //path/to/dir (push)

---

Using `git fsck --full` in both 2.11.0 and 2.10.0, it doesn't reveal any additional problems.

$ git fsck --full
Checking object directories: 100% (256/256), done.
Checking objects: 100% (2710/2710), done.

---

I'm not sure if it's related but ` object directory /path/to/dir/objects does not exist` doesn't contain an expected second slash.

    Thomas 'Panda' Attwood.

             reply	other threads:[~2016-12-02 18:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 18:02 thomas.attwood [this message]
2016-12-02 22:37 ` git 2.11.0 error when pushing to remote located on a windows share Jeff King
2016-12-04  8:09   ` Torsten Bögershausen
2016-12-05 11:05     ` thomas.attwood
2016-12-06  3:09       ` Torsten Bögershausen
2016-12-23 17:04         ` Johannes Schindelin

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

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=AABB04BF1441D24CB4E9FCF46394F17D666F34E1@exchmbx01 \
    --to=thomas.attwood@stfc.ac.uk \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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