On Sat, 19 Feb 2000, Steven Elliott wrote:

> I moved the fix I originally submitted with my "Patch to generate
> patches within the build" e-mail to a tool named "genpatch" in the
> "tools" directory.  I also removed the "-w" switch.
> 
> It should be clear how to use this tool from the usage statement.  For
> example, the attached patch was generated with:
>       tools/genpatch -a tools/genpatch -c "A utility that generates patches
> for submission to [EMAIL PROTECTED]"

There are some issues I don't like about this thing, but I'll limit myself
to these two things:
1. Always put /dev/null diffs LAST, after cvs diffs. If I remember right,
"patch" may fail to recognize the cvs diffs if you put them first.
2. It'd be nice to be able to only diff the things I really want to
submit (i.e. specify arguments to cvs diff). Perhaps the cvs error
messages "Nothing known about that file" could make the script the file
into the newfile-list to be diffed against /dev/null... your -a option
would then be completely unnecessary.

Reply via email to