From: Alexander Litvinov <litvinov2004@gmail.com>
To: git@vger.kernel.org
Subject: Does pushing to git demon works ?
Date: Mon, 11 Dec 2006 15:13:05 +0600 [thread overview]
Message-ID: <200612111513.05752.litvinov2004@gmail.com> (raw)
I tried pushing without success:
> git version
git version 1.4.4.2
> mkdir 1 && cd 1 && git init-db
defaulting to local storage area
> date >> a && git add a && git commit -m "add a" a
Committing initial tree 359e888a2d88e9dfcc9b269bc0b2fb1d9ba0013e
> date >> a && git commit -m "edit a" a
> touch .git/git-daemon-export-ok
> git daemon --verbose --reuseaddr --listen=127.0.0.1
... log here ...
[21607] Extended attributes (16 bytes) exist <host=127.0.0.1>
[21607] Request upload-pack for '/tmp/1'
[21607] Disconnected
[21669] Connection from 127.0.0.1:49875
[21669] Extended attributes (16 bytes) exist <host=127.0.0.1>
[21669] Protocol error: 'git-receive-pack /tmp/1'
[21669] Disconnected (with error)
at another conole:
> git clone git://127.0.0.1/tmp/1 2
remote: Generating pack...
remote: Done counting 6 objects.
remote: Deltifying 6 objects.
remote: 100% (6/6) done
remote: Total 6, written 6 (delta 0), reused 0 (delta 0)
Indexing 6 objects.
100% (6/6) done
> cd 2
> date >> a && git commit -a -m "2"
> git push
fatal: unexpected EOF
>
What should I do to make it work ?
Thanks for help,
next reply other threads:[~2006-12-11 9:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-11 9:13 Alexander Litvinov [this message]
2006-12-11 9:38 ` Does pushing to git demon works ? Jakub Narebski
2006-12-11 10:56 ` Alexander Litvinov
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=200612111513.05752.litvinov2004@gmail.com \
--to=litvinov2004@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).