Skip to content

Commit

Permalink
BUG fix gitonomy ignoring home dir and ~/.gitconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian Mooyman committed Oct 6, 2015
1 parent 26c3a4c commit 5747378
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Model/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ public function getLink() {
* @return Repository
*/
public function getRepository() {
return new Repository($this->directory);
return new Repository($this->directory, array(
'environment_variables' => array('HOME' => getenv('HOME'))
));
}

/**
Expand Down

0 comments on commit 5747378

Please sign in to comment.