diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-11 12:58:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-11 12:58:24 -0400 |
commit | 2b0dc0a1009b92a1c236598049b0efa623f9c25d (patch) | |
tree | c98e9871f6b93c7370784c8ecd0b48cf687a7d9f /debian | |
parent | ee6d02f8dbcd962db1666c06f701d3b0835b1ada (diff) |
Avoid unsetting HOME when running certian git commands. Closes: #690193
Setting GIT_INDEX_FILE clobbers the rest of the environment, making git
not read ~/.gitconfig, and blow up if GECOS didn't have a name for the
user.
I'm not entirely happy with getEnvironment being run every time now,
that's somewhat expensive. It may make sense to just set GIT_COMMITTER_*
and GIT_AUTHOR_*, but I worry that clobbering the rest could break PATH,
or GIT_PATH, or something else that might be used by a command run in here.
And caching the environment is not a good idea either; it can change..
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 73e33ea8d..1470cf943 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ git-annex (3.20121010) UNRELEASED; urgency=low * Standard groups changed to client, transfer, archive, and backup. Each of these has its own standard preferred content setting. * dead: Remove dead repository from all groups. + * Avoid unsetting HOME when running certian git commands. Closes: #690193 -- Joey Hess <joeyh@debian.org> Wed, 10 Oct 2012 12:59:25 -0400 |