Rockbox Development > Starting Development and Compiling

Create rejection file from dry runs?

<< < (5/6) > >>

NicolasP:
It seems you can create rejection files from dry runs like this :

--- Code: ---patch -p0 --dry-run --global-reject-file=foo.rej < path-to-your-diff
--- End code ---
I haven't tried it personally (found it here)

iPodFoo:
Hmm.

Looked at it and tried it out but it returns with:

patch: unrecognized option `--global-reject=foo.rej'
patch: Try `patch --help' for more information.

So I looked at help and there was an option called --reject-file, so I used that like so:

patch -p0 --dry-run --reject-file=foo.rej < path-to-your-diff

But no file gets created.  >:(

NicolasP:
looks to me like you did

--- Quote ---patch -p0 --dry-run --global-reject=foo.rej < path-to-your-diff
--- End quote ---
and not

--- Quote ---patch -p0 --dry-run --global-reject-file=foo.rej < path-to-your-diff
--- End quote ---

iPodFoo:
sorry. forgot to type the "file" bit. It doesnt change anything though. Still doesnt recognise the command.

 :(

bascule:

--- Quote from: ipodfoo on November 07, 2006, 09:13:51 AM ---sorry. forgot to type the "file" bit. It doesnt change anything though. Still doesnt recognise the command.


--- End quote ---

I can confirm that the --global-reject-file=foo.rej option does not work for me, either, under the VMware environment.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version