I use diff -bur oldfile newfile > file.patch

De : gumstix-users-admin@lists.sourceforge.net [mailto:gumstix-users-admin@lists.sourceforge.net] De la part de Cyril BAZIN
Envoyé : jeudi 9 juin 2005 11:34
À : gumstix-users@lists.sourceforge.net
Objet : Re: [Gumstix-users] HOWTO build a patch file ?

We want to build Kernel patch files.

On 6/9/05, Jérôme Multrier <jerome.multrier@gmail.com> wrote:
Does anybody can tell me how patch files can be built properly, like gumstix ones ?

Currently, we use
$ diff -u file.c file.c.new > xxx-file.patch
the fact is that our file doesn't exactly look like gumstix ones...

Thanks !