Michael Olson <[EMAIL PROTECTED]> writes:

> Stephen Leake <[EMAIL PROTECTED]> writes:
>
>> Michael Olson <[EMAIL PROTECTED]> writes:
>>>
>>> Hmm.  Would this work with partial commits, which don't necessarily
>>> check in all of the files?
>>
>> You do a partial commit from a status buffer by marking the files you
>> want to commit. The dvc-status-mode post commit action would check for
>> marked files; if there are some, delete just those from the ewoc.
>> Otherwise, delete all from the ewoc.
>
> The git backend does not work that way.  You basically add files to the
> index using xgit-add or "git add" from commandline or "a" from the
> status buffer.  To indicate that you want to commit just the files
> you've manually added to index, mark *any* of the files and do C-x V c
> C-c C-c.

Is that the process for committing changes to modified files? That
seems odd.

xgit-dvc-log-edit-done works the way I described; on the git command
line, it lists either the currently marked files or -a (which I assume
means "all files").

Although there is also a comment "specification of a file list does
not yet work...", so I'm not sure how it works.

DVC calls xgit-add for dvc-add, which is for placing previously
unknown files under back-end control, not for "add this file to the
commit set".

-- 
-- Stephe

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

Reply via email to