]> git.eshelyaron.com Git - emacs.git/commit
Bind default-directory to given DIR.
authorTassilo Horn <tsdh@gnu.org>
Thu, 18 Jun 2020 05:53:45 +0000 (07:53 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 18 Jun 2020 05:55:38 +0000 (07:55 +0200)
commita4f1d681c10e39429d4ba6d9ca42b009a7b003fb
treec528e7ff2c93b60a39d787bc72bd5678b5c4b0a8
parent7c177ecb8407633e624cd7e12a0c0d12b8990c32
Bind default-directory to given DIR.

Otherwise, "git config branch.<branch>.remote" would return the global
default "origin" instead of the actual, project-specific remote name.

* lisp/vc/vc-git.el (vc-git-dir-extra-headers): Bind default-directory
to given DIR.
lisp/vc/vc-git.el