On Wed, Jun 18, 2008 at 3:10 PM, Darrin Chandler
<[EMAIL PROTECTED]> wrote:
> You'll notice those commits are preceeded by other commits. Often this
> is the case when a device is added to a file and committed, then stuff
> is autogenerated. Comitting the autogenerated stuff separately makes it
> easier to see the real change, and the real log message is with the
> original commit.

Not just easier to see but more accurate and useful.

Let's say I add a new usb device to usbdevs r1.358, generate all the
headers and commit. usbdevs*.h will say they were generated from
1.358, but if a user tries to check out 1.358, they won't be able to
rebuild usbdevs*.h and get the same contents. By committing the source
first, and then the regenerated files, you ensure that you get
consistency between all the files and everyone gets the same, correct
output when they check out and build.

CK

-- 
GDB has a 'break' feature; why doesn't it have 'fix' too?

Reply via email to