Stefan Reichör <[EMAIL PROTECTED]> writes:

>> I always commit straight from the log-edit buffer.  Unless there are
>> only a subset of files that I wish to commit, in which case I do it by
>> hand.  I suppose I ought to learn how to narrow the subset via dired or
>> the status buffer someday.
>
> You can narrow down this list easily by marking the relevant files in the 
> diff buffer.

That said, I don't encourrage partial commits. The primary goal of
checking the diff/status before committing is to avoid committing
mistakes, not to mark files.

The problem with partial commits is that you commit something to the
revision control system that never actually existed on disk.
Typically, in C, you can select some .c files using a newly defined
function, and forget to add the corresponding .h file, then, you
commit uncompilable code (and good luck if you want to bisect to find
the origin of a bug later). So, partial commit are sometimes
powerfull, but they're also somehow dangerous ...

-- 
Matthieu

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to