From: "Torsten Bögershausen" <tboegi@web.de>
To: stephen_leake@stephe-leake.org, git@vger.kernel.org
Subject: Re: aborted 'git fetch' leaves workspace unusable
Date: Mon, 30 Dec 2013 20:54:38 +0100 [thread overview]
Message-ID: <52C1CF7E.9000603@web.de> (raw)
In-Reply-To: <7adcf8024c435b9b7178b86f01e447bb@stephe-leake.org>
On 2013-12-30 18.07, stephen_leake@stephe-leake.org wrote:
> I forgot to do 'ssh-add', so a 'git fetch' running under Windows Emacs
Windows native emacs or emacs under cygwin ?
> tried to prompt for the ssh passphrase, could not find an ssh passphrase
> prompt program, and aborted.
>
> That left the workspace unusable:
>
> - .git/FETCH_HEAD is empty
>
> that causes 'git rev-parse FETCH_HEAD' to fail with a confusing
> error message.
Would you mind to post the "confusion error message" here?
Because some people may find it useful.
>
> - 'git fetch' just hangs after outputting:
>
> remote: Counting objects: 15, done.
> remote: Compressing objects: 100% (8/8), done.
> remote: Total 9 (delta 5), reused 0 (delta 0)
>
> even with -v --progress
>
> A fresh clone allowed me to continue working, but this will happen
> again, so I'd like a better fix.
>
> The fetch is from stephen_leake@git.savannah.gnu.org/emacs/elpa.git
>
> I'm running git 1.7.9 from Cygwin.
This feels old, we have v1.8.5.2 as the latest version.
I have access to Debian, where I can
> compile git and run it under the debugger, if that helps. I have not yet
> tried to reproduce this bug on Debian.
This could be helpful:
a) compile git under cygwin (try 1.8.5.2), and see if the problem is still there.
b) Which version of cygwin do you have?
c) If the same problem exist under Debian, debugging it could be helpfull, yes.
If the same problem exist here, in some version of git, it would be helpful to test
the latest version of git. (Which means compile & debug)
HTH
/Torsten
next prev parent reply other threads:[~2013-12-30 19:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-30 17:07 aborted 'git fetch' leaves workspace unusable stephen_leake
2013-12-30 19:37 ` Junio C Hamano
2013-12-30 19:54 ` Torsten Bögershausen [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-12-31 8:19 stephen_leake
2014-01-02 18:09 ` Junio C Hamano
2014-01-03 3:28 ` Stephen Leake
2014-01-03 17:58 ` Junio C Hamano
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=52C1CF7E.9000603@web.de \
--to=tboegi@web.de \
--cc=git@vger.kernel.org \
--cc=stephen_leake@stephe-leake.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.
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 NNTP newsgroup(s).