Michael Olson <[EMAIL PROTECTED]> writes: > Committed revision 281 to http://mwolson.org/bzr/dvc/ > > xgit: Check in improved version of xgit-addremove > > * lisp/xgit.el (xgit-addremove): Use improved variant of this command > from the git mailing list, which avoids using pipes and xargs.
+ (dvc-run-dvc-sync + 'xgit (list "add" ".") + :finished (lambda (output error status arguments) + (dvc-run-dvc-sync + 'xgit (list "add" "-u") I'd add a "." here, -------------------^ to be consistant : in case you run this from a subdirectory of the repository, "add" "." will add unknown files in this directory only, so let's do the same for "add -u". Otherwise wrap this with ((let (default-directory (dvc-tree-root) ...))) . Otherwise, this has the side effect of adding the new content of existing files too. I'm not sure whether this is a good or bad side effect ;-). -- Matthieu _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
