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

Re: What's cooking in git.git (topics)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 2, 2007, 20:29 UTC
Message-ID
<Pine.LNX.4.63.0701022127040.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7vwt4647g0.fsf@assigned-by-dhcp.cox.net>
Hi,
On Mon, 1 Jan 2007, Junio C Hamano wrote:
Show 9 quoted lines
> * jc/3way (Wed Nov 29 18:53:13 2006 -0800) 1 commit
>  + git-merge: preserve and merge local changes when doing fast
>    forward
> 
> Johannes's suggestion to record a tree object instead of LOCAL_DIFF is 
> roger but not wilco yet --- I haven't thought through the issue to see 
> an improvement in the suggestion.  We will be clobbering both index and 
> the working tree, and I think "diff --binary HEAD" and "write-tree" 
> record the equivalent amount of information given a HEAD for recovery.
For recovery, yes. The difference comes in
- that you can use the familiar git operations to recover (git read-tree 
  PRE_MERGE_TREE), and
- that you can do other git operations on the tree, but not on the diff.

Hth, Dscho

Previous: Junio C HamanoNext: Alex Riesen
Message 2 of 6 in “What's cooking in git.git (topics)”
  1. Junio C HamanoJan 2, 2007
  2. Johannes SchindelinJan 2, 2007
  3. Alex RiesenJan 4, 2007
  4. Shawn O. PearceJan 5, 2007
  5. Alex RiesenJan 5, 2007
  6. Junio C HamanoJan 7, 2007

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.