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

Re: Make git diff-generation use a simpler spawn-like interface

From
Junio C Hamano <junkio@cox.net>
Date
Feb 27, 2006, 00:25 UTC
Message-ID
<7v7j7h6420.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0602261547440.22647@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
Show 9 quoted lines
> This actually ends up simplifying the code, and should make it much
> easier to make it efficient under broken operating systems (read: Windows).
>
> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
> ---
>
> Now, somebody else might disagree with my contention that this also makes 
> things simpler, but I like how we separate out the "run an external 
> program" phase from the actual setup and header printing phase.
I agree this is going in the right direction.

A note that is offtopic to this particular patch but is related to Andrew's point. I had a wrong version of pre-applypatch hook in the sample shipped as "templates", and after I rebuilt my private development repository I've been running with the version without a fix I personally had. I've pushed out the fix in the master branch.

I'll look at your patch to git-apply next.
Previous: Linus Torvalds
Message 2 of 2 in “Make git diff-generation use a simpler spawn-like interface”
  1. Linus TorvaldsFeb 26, 2006
  2. Junio C HamanoFeb 27, 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.