Subject: bug#18788: 24.4; vc-git-working-revision vs mode-line gives error

From: nil <[email-masked]>
Date: Wed, 11 Feb 2015 06:08:12 +0000 (UTC)

What is the value of (getenv "GIT_DIR")? If emacs was started as e.g. GIT_EDITOR, it will inherit this and pass it to child git processes run by vc, confusing them inordinately.