Committed revision 453 to http://bzr.xsteve.at/dvc/
Patch from Michael Olson: Apply git patch from gnus article to non-git-managed
repo.
* lisp/xgit-gnus.el (xgit-gnus-apply-patch): Don't throw error if no
apply-patch mapping directory found. Make sure working directory has
trailing slash. If no .git directory exists in working directory, do a
"git apply" and then prepare an initial commit message for the patch.
(xgit-gnus-stage-patch-for-commit): New function that extracts subject
and body from a patch buffer, runs dvc-diff, and makes an initial
commit message.
(xgit-gnus-view-status-for-apply-patch): Make sure working directory
has trailing slash.
* lisp/xgit.el (xgit-apply-patch): New function that runs "git apply".
(xgit-apply-mbox): Improve documentation.
_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev