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

Re: [PATCH] Write diff output to a file in struct diff_options

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 10, 2008, 06:18 UTC
Message-ID
<7v3aqzm7ac.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<alpine.LNX.1.00.0803092235150.19665@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 7 quoted lines
> Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
> ---
> I remember there being some expectation that this would be difficult, but 
> it was a pretty straightforward conversion, so I'm wondering if I've 
> missed something. In any case, this is missing tests and documentation for 
> --output=, but I really want it to use directly for rebase-interactive, 
> and I only did the command line option so I could do informal testing.
Looks Ok at lesat to my cursory review.

Some people however seemed to have had plans to take this even further and optionally emit into strbuf; I suspect that was the difficulty you were remembering about?

Previous: Daniel BarkalowNext: Johannes Schindelin
Message 2 of 6 in “Write diff output to a file in struct diff_options”
  1. Write diff output to a file in struct diff_optionsDaniel Barkalow, Mar 10, 2008
  2. Junio C HamanoMar 10, 2008
  3. Johannes SchindelinMar 10, 2008
  4. Jakub NarebskiMar 10, 2008
  5. Johannes SchindelinMar 10, 2008
  6. Kristian HøgsbergMar 10, 2008

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.