Committed revision 228

xgit: Fix issue with using xgit-log from dired buffers
  
  * lisp/xgit-core.el (xgit-git-dir): Return a relative filename, instead
    of taking the output from xgit-tree-root verbatim.  The reason for this
    is that git barfs when the --git-dir argument begins with "~/".  This
    might be due to git expecting the shell to expand "~/" before git
    receives the argument.  We could expand it ourselves rather than taking
    the relative name, but it would clutter the output since the relative
    name is shorter.
  
  * lisp/xgit.el (git-log): Make this work correctly from dired buffers for
    directories beneath the tree-root.  The fix involved passing dir to
    dvc-get-buffer-create and let-binding default-directory after switching
    to that buffer.  Long lines were also wrapped in the code.

-- 
       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 |

Attachment: pgpDLhbALx5JN.pgp
Description: PGP signature

_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to