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

can someone verify operation of "splitpatch" with a massive "git diff"?

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Nov 16, 2020, 09:18 UTC
Message-ID
<fc5cf6bc-aa74-d8-90b-c1789f349b8c@crashcourse.ca>
  someone just handed me a several thousand line layer-wide patch, and
i'd like to pull it apart into bite-sized pieces, and i just noticed
the utility "splitpatch", but when i applied it to the patch, what i
got was *almost* right ... except that the patch snippets had the
trailing "git diff" line from the *following* patch snippet in the
file; the splitting operation clearly retained the trailing line after
the patch, rather than the leading line that actually represented the
snippet.
  is there a simple way to do this? i do have the right to go back to
the patch creator and ask him to redo the diff in a different way.
thoughts?
rday
Next: René Scharfe
Message 1 of 2 in “can someone verify operation of "splitpatch" with a massive "git diff"?”
  1. Robert P. J. DayNov 16, 2020
  2. René ScharfeNov 17, 2020

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.