[Gllug] Building a patch
Nix
nix at esperi.org.uk
Fri Dec 2 11:43:33 UTC 2005
On Thu, 1 Dec 2005, Adrian McMenamin announced authoritatively:
> On Thu, 1 December, 2005 5:00 pm, Nix wrote:
>> On Thu, 1 Dec 2005, Adrian McMenamin announced authoritatively:
>> diff -ur will do that, although it's a very strange requirement.
>>
>>> patch -ur ./alsa-lib-orig ./alsa-lib just tells me which files are in
>>> one
>>> directory set and not the other
>>
>> [s/patch/diff/ as you posted]
>>
>> But this is what you wanted!
>>
> Sorry, I obviously wasn't very clear. I had patched 4 or 5 C files and
> rather than post 4 or 5 patches to the mailing list I wanted to get all
> the patches in one file.
Well, that's what the -r switch to diff does: you'll get a long
stream of output with patches to multiple files in it.
grep for ^--- in the output for proof (or pipe it into the lovely
diffstat program).
--
`Y'know, London's nice at this time of year. If you like your cities
freezing cold and full of surly gits.' --- David Damerell
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list