Committed revision 266 to http://mwolson.org/bzr/dvc/
xgit: Simplify some code, make xgit-revert-files handle newly-added files
* lisp/xgit.el (xgit-add): Call xgit-add-files, to avoid code
duplication.
(xgit-status): Simplify the code by capturing the lambda just once.
(xgit-split-out-added-files): New function that takes a list of files
and returns a 2-element list. First element is a list of added files,
and the second element is the remainder.
(xgit-revert): Call xgit-revert-files, to avoid code duplication.
(xgit-revert-files): Handle case where some of the files were added to
the tree, but have not yet been committed. These files must be
manually removed from 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 |
pgpjALGuSqw4K.pgp
Description: PGP signature
_______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
