1. 17 Dec, 2015 7 commits
  2. 15 Dec, 2015 3 commits
  3. 14 Dec, 2015 3 commits
  4. 11 Dec, 2015 4 commits
  5. 10 Dec, 2015 6 commits
  6. 09 Dec, 2015 3 commits
  7. 08 Dec, 2015 5 commits
  8. 07 Dec, 2015 4 commits
  9. 02 Dec, 2015 1 commit
  10. 29 Nov, 2015 2 commits
  11. 25 Nov, 2015 1 commit
  12. 24 Nov, 2015 1 commit
    • Jacob Vosmaer's avatar
      Merge branch 'y/gitcommand-path' into 'master' · 0d0bd209
      Jacob Vosmaer authored
      gitCommand: Pass $HOME to git as well
      
      Git has 3 places for configs:
      
         - system
         - global (per user), and
         - local  (per repository)
      
      System config location is hardcoded at git compile time (to usually
      $prefix/etc/gitconfig). Local configuration is usually picked because we
      pass --git-dir to subcommand. But global configuration is currently not
      picked at all, because HOME env variable is not passed to git.
      
      Pass $HOME through and let git see it's "global" config.
      
      Currently GitLab omnibus stores gitlab user name/email  + "autocrlf =
      true" in global config, so missing it should not be a blocker for
      receive/send-pack operations. But having it is more correct and can be
      handy in the future if/when more git operations are done from-under
      gitlab-workhorse.
      
      Having $HOME properly set is also needed when one cannot change system
      git config and have to put site-wide configuration into global git
      config under $HOME.
      
      That was the case I've hit and the reason for this patch.
      
      See merge request !10
      0d0bd209