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

Re: Help requested - trying to build a tool doing whole-tree commits

From
Eric S. Raymond <esr@thyrsus.com>
Date
Nov 11, 2012, 14:47 UTC
Message-ID
<20121111144722.GA3593@thyrsus.com>
In-Reply-To
<7vlie9pf96.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com>:
> Perhaps not exactly what you are looking for, but don't we have
> import-tar somewhere in contrib/fast-import hierarchy (sorry, not on
> a machine yet, and I cannot give more details).
If I recall correctly, that can only be used for original import.

I think Andreas Schwab's suggestion (git add -A && git write-tree && git commit-tree && git update-ref) is probably the right thing. I'm going to try that.

-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
Previous: Junio C Hamano
Message 5 of 5 in “Help requested - trying to build a tool doing whole-tree commits”
  1. UnknownNov 9, 2012
  2. Andreas SchwabNov 9, 2012
  3. Felipe ContrerasNov 10, 2012
  4. Junio C HamanoNov 10, 2012
  5. Eric S. RaymondNov 11, 2012

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.