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

Re: Importing diffs

From
Greg KH <greg@kroah.com>
Date
Jan 30, 2006, 19:57 UTC
Message-ID
<20060130195706.GA18743@kroah.com>
In-Reply-To
<43DE1DB7.20909@f2s.com>
On Mon, Jan 30, 2006 at 02:07:51PM +0000, Ian Molton wrote:
> Hi.
> 
> is there any reason why git insists diffs be -p1 format ?
Because that's the default for what the Linux kernel project uses?  :)
> it makes it hard to import a diff generated by svn (-p0).

I'm pretty sure that svn can output -p1 patches, I've done it in the past...

thanks,
greg k-h
Previous: Ian MoltonNext: Daniel Barkalow
Message 2 of 4 in “Importing diffs”
  1. Ian MoltonJan 30, 2006
  2. Greg KHJan 30, 2006
  3. Make apply accept the -pNUM option like patch does.Daniel Barkalow, Jan 31, 2006
  4. Linus TorvaldsJan 31, 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.