git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Does pushing to git demon works ?

From
ALAlexander Litvinov <litvinov2004@gmail.com>
Date
Dec 11, 2006, 09:13 UTC
Message-ID
<200612111513.05752.litvinov2004@gmail.com>
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: Jakub Narebski
Message 1 of 3 in “Does pushing to git demon works ?”
  1. Alexander LitvinovDec 11, 2006
  2. Jakub NarebskiDec 11, 2006
  3. Alexander LitvinovDec 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.