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