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

Re: Git hangs while executing commit-tree

From
Linus Torvalds <torvalds@osdl.org>
Date
Apr 20, 2005, 21:48 UTC
Message-ID
<Pine.LNX.4.58.0504201446510.6467@ppc970.osdl.org>
In-Reply-To
<200504202228.35652.rhys@rhyshardwick.co.uk>
On Wed, 20 Apr 2005, Rhys Hardwick wrote:
Show 5 quoted lines
>
> rhys@metatron:~/repo/tmp.repo$ commit-tree  c80156fafbac377ab35beb076090c8320f874f91
> Committing initial tree c80156fafbac377ab35beb076090c8320f874f91
>  
> At this point, the command seems to be just waiting.

That's _exactly_ what it's doing. It's waiting for you to write a commit message.

Something like
	This is my initial commit of Hello World!
	^D
will make it happy.

Alternatively, you can certainly just write your message beforehand with an editor and just pipe it into commit-tree.

			Linus
Previous: Petr BaudisNext: David Greaves
Message 3 of 4 in “Git hangs while executing commit-tree”
  1. Rhys HardwickApr 20, 2005
  2. Petr BaudisApr 20, 2005
  3. Linus TorvaldsApr 20, 2005
  4. David GreavesApr 20, 2005

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.