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

Re: xdiff: generate "anti-diffs" aka what is common to two files

From
Junio C Hamano <junkio@cox.net>
Date
Jun 29, 2006, 06:04 UTC
Message-ID
<7vbqscwl8b.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0606282149060.12404@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> Junio: the patch that actually _uses_ this comes next. It's based on my 
> previous "throw-away" example patches, if you want me to base it on 
> something else, please holler.

Nah, I appreciate that you did it this way, because it gave me a test case to "git-am" your two patches into a temporary branch and "pull --squash" that into lt/merge-tree branch ;-).

	git am ./+LT.mbox
        ... two patches, applied with --whitespace=strip ...
	git tag -f CG
        git reset --hard HEAD^^
        git pull --squash . tag CG
        git commig -C CG
        git tag -d CG
Previous: Linus TorvaldsNext: Davide Libenzi
Message 2 of 3 in “xdiff: generate "anti-diffs" aka what is common to two files”
  1. Linus TorvaldsJun 29, 2006
  2. Junio C HamanoJun 29, 2006
  3. Davide LibenziJun 29, 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.