Stephen Leake <[EMAIL PROTECTED]> writes: > 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.
That is indeed how it is done. git has its own index for keeping track
of which files need to be added in the current commit -- marking at
least one file before bringing up the log-edit buffer indicates to DVC
that it should do a normal git commit, which uses just the index. If no
files were marked, then DVC will do "git commit -a", which commits
everything that has changed, rather than just what has been added to the
index.
--
Michael Olson -- FSF Associate Member #652 |
http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net | /` |\ | | |
Sysadmin -- Hobbies: Lisp, GP2X, HCoop | |_] | \| |_|
Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
pgp1XxgPBh0Us.pgp
Description: PGP signature
_______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
