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

Re: Where is information of "git read-tree" stored?

From
MRManuel Reimer <manuel.spam@nurfuerspam.de>
Date
Sep 19, 2011, 19:52 UTC
Message-ID
<j586pb$emh$1@dough.gmane.org>
In-Reply-To
<7vzki0a0yd.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
> It is unclear to me what you meant by "connection" "lost" and "recreated"
> above, but I am guessing I can ignore them, as long as I take it that you
> mean by that local mirror from the subversion repository "Bproject" below.

Yes. And the reference to it isn't pushed to the remote GIT server. If I clone the remote repo, then "git remote -v" doesn't show the reference anymore.

> That "how to" may be badly written and this may have been unclear to you
> but the first four steps are to be done _only once_ to set things up, and
> after that you need to run only the fifth step whenever you want to update
> from the Bproject. Could you suggest a better wording to update the doc?

As long as I don't understand what's going on here, I can't suggest how to improve the documentation.

> The very first "subtree merge" (the one that is recorded with the commit
> after the read-tree) records all paths from Bproject renamed to elsewhere
> in the merge result (you can view it with "git show -M
> $that_merge_commit")

Tried that, but the stuff, I saw on screen, doesn't make clear how GIT knew about what to do here.

I also still don't know how I can restore that whole setup if anything, I have on my local side, gets lost. Means, that anything, that I have left, is the stuff, I pushed to the remote GIT and the SVN, I want to have in my own tree. Which steps do I have to perform to restore the setup and have it working again without getting conflicts?

Maybe the risk of getting problems is too high and I should copy over stuff, I got from SVN, from time to time manually to my GIT repo?

Yours
Manuel
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 of 5 in “Where is information of "git read-tree" stored?”
  1. Manuel ReimerSep 19, 2011
  2. Junio C HamanoSep 19, 2011
  3. Manuel ReimerSep 19, 2011
  4. Junio C HamanoSep 19, 2011
  5. David AguilarSep 25, 2011

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.