Committed revision 293 to http://mwolson.org/bzr/dvc/
xgit: Support placing the .git directory outside of the work tree
* lisp/xgit-core.el (xgit-git-dir-mapping): New option that is a mapping
from the root of a directory tree to the desired git metadata
directory. This allows you to store .git outside of the work tree.
(xgit-lookup-external-git-dir): New function that looks up either the
root dir or metadata dir from xgit-git-dir-mapping.
(xgit-tree-root): Use xgit-lookup-external-git-dir.
(xgit-git-dir): Ditto. Avoid adding ".git" to the end if we got it
from there.
(xgit-prepare-environment): If xgit-lookup-external-git-dir yields
something, set GIT_DIR to it.
--
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 |
pgpov4wcHUbLV.pgp
Description: PGP signature
_______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
