From: "Ciprian Dorin, Craciun" <ciprian.craciun@gmail.com>
To: git@vger.kernel.org
Subject: Git push failure in the case of SSH to localhost
Date: Wed, 11 Feb 2009 18:24:29 +0200 [thread overview]
Message-ID: <8e04b5820902110824u1ab99cc1r4df6349b20d62f84@mail.gmail.com> (raw)
Hello all!
I've encountered the following error situations: git fails to push
a branch over ssh to localhost, even with file: protocol it has the
same behaviour... Please see the transcript... (Git version is
1.6.1.1) I don't think I'm doing something wrong, because this works
just fine with a real remote host...
Thanks,
Ciprian Craciun.
P.S.: I'm using a slightly modified version of Git, but this patch
affects only the PATH-like search mechanism for git commands.
----
0 git version
git version 1.6.1.1.dirty
1 cd /tmp
2 mkdir r1
3 cd r1
4 git init
5 cd ..
6 mkdir r2
7 cd r2
8 git init --bare
9 cd ..
10 cd r1
11 echo a>a
12 git add .
13 git commit -m '--'
14 git push ssh://localhost/tmp/r2 master
Counting objects: 3, done.
Writing objects: 100% (3/3), 197 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
error: unpack should have generated
ea8c5601f49a4bdeea03db3adb909d590ea730d3, but I can't find it!
To ssh://localhost/tmp/r2
! [remote rejected] master -> master (bad pack)
error: failed to push some refs to 'ssh://localhost/tmp/r2'
15 git push file:///tmp/r2 master
Counting objects: 3, done.
Writing objects: 100% (3/3), 197 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
error: unpack should have generated
ea8c5601f49a4bdeea03db3adb909d590ea730d3, but I can't find it!
To file:///tmp/r2
! [remote rejected] master -> master (bad pack)
error: failed to push some refs to 'file:///tmp/r2'
16 git push ssh://hephaistos.tartarus./tmp/r2 master
Counting objects: 3, done.
Writing objects: 100% (3/3), 197 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://dom1.hephaistos.tartarus./tmp/r2
* [new branch] master -> master
next reply other threads:[~2009-02-11 16:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 16:24 Ciprian Dorin, Craciun [this message]
2009-02-11 18:05 ` Git push failure in the case of SSH to localhost Jeff King
2009-02-11 18:42 ` Ciprian Dorin, Craciun
2009-02-11 18:44 ` Jeff King
2009-02-11 19:03 ` Ciprian Dorin, Craciun
2009-02-11 19:14 ` Shawn O. Pearce
2009-02-11 19:20 ` Ciprian Dorin, Craciun
2009-02-11 19:22 ` Jeff King
2009-02-11 19:32 ` Ciprian Dorin, Craciun
2009-02-11 19:42 ` Jeff King
2009-02-11 20:03 ` Ciprian Dorin, Craciun
2009-02-11 20:23 ` Junio C Hamano
2009-02-11 20:49 ` Ciprian Dorin, Craciun
2009-02-11 21:03 ` Johannes Schindelin
2009-02-11 19:27 ` Junio C Hamano
2009-02-11 19:34 ` Ciprian Dorin, Craciun
2009-02-11 19:40 ` 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=8e04b5820902110824u1ab99cc1r4df6349b20d62f84@mail.gmail.com \
--to=ciprian.craciun@gmail.com \
--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.
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).