Homec4science

Specify HOME when invoking Git commands

Authored by epriestley <git@epriestley.com> on May 21 2013, 23:14.

Description

Specify HOME when invoking Git commands

Summary: Fixes T2965, see that task for discussion. This is dumb but seems like our best bet.

Test Plan:

  • Installed newish version of Git.
  • Set HOME on the websever to /var/root (or any other unreadable directory).
  • Hit the error described in T2965 when viewing Diffusion.
  • Applied this patch.
  • Diffusion works.

Reviewers: btrahan, joel

Reviewed By: btrahan

CC: aran, chad

Maniphest Tasks: T2965

Differential Revision: https://secure.phabricator.com/D5994

Details

Committed
epriestley <git@epriestley.com>May 21 2013, 23:14
Pushed
aubortJan 31 2017, 17:16
Parents
rPH88fec4908b19: Diffusion - double check these sub objects exist before toDictionary'ing them
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHc48f64b391f2: Specify HOME when invoking Git commands (authored by epriestley <git@epriestley.com>).May 21 2013, 23:14