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

git applymbox is too anal

From
Greg KH <greg@kroah.com>
Date
Sep 8, 2005, 23:25 UTC
Message-ID
<20050908232535.GA7700@kroah.com>

Ick. I'm trying to apply a bunch of patches to a git repo (the kernel tree), using 'git applymbox' and it's just dieing on simple patches that apply with fuzz.

for example:
$ git applymbox ~/linux/patches/u07
Applying 'USB: fix up URB_ASYNC_UNLINK usages from the usb-serial drivers'

error: patch failed: drivers/usb/serial/option.c:513 error: drivers/usb/serial/option.c: patch does not apply

$ patch -p1 --dry-run < ~/linux/patches/u07 patching file drivers/usb/serial/keyspan.c patching file drivers/usb/serial/option.c Hunk #3 succeeded at 509 with fuzz 1.

So, I have to then do a 'patch, git diff, git checkout-cache -f -u -a, git applymbox' type dance to get this patch to apply.

Or am I missing some option to 'git applymbox' that I can't seem to find?

thanks,
greg k-h
Next: Greg KH
Message 1 of 5 in “git applymbox is too anal”
  1. Greg KHSep 8, 2005
  2. Greg KHSep 8, 2005
  3. Junio C HamanoSep 9, 2005
  4. Linus TorvaldsSep 9, 2005
  5. Greg KHSep 9, 2005

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.