mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Fixes T4990
Summary: Fix for T4990, using export TERM directly in pre receive hook, tested for git Test Plan: pushing into repository over ssh will now not cause remote warning No entry for terminal type "unknown"; using dumb terminal settings. Tested with git Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Projects: #diffusion, #repositories Maniphest Tasks: T4990 Differential Revision: https://secure.phabricator.com/D9744
This commit is contained in:
parent
195def15b0
commit
d541664956
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ final class PhabricatorRepositoryPullEngine
|
|||
$bin,
|
||||
$callsign);
|
||||
|
||||
$hook = "#!/bin/sh\n{$cmd}\n";
|
||||
$hook = "#!/bin/sh\nexport TERM=dumb\n{$cmd}\n";
|
||||
|
||||
Filesystem::writeFile($path, $hook);
|
||||
Filesystem::changePermissions($path, 0755);
|
||||
|
|
Loading…
Reference in a new issue