Changeset View
Changeset View
Standalone View
Standalone View
src/repository/api/ArcanistGitAPI.php
Show First 20 Lines • Show All 1,740 Lines • ▼ Show 20 Lines | public function isGitLFSWorkingCopy() { | ||||
return false; | return false; | ||||
} | } | ||||
protected function newLandEngine() { | protected function newLandEngine() { | ||||
return new ArcanistGitLandEngine(); | return new ArcanistGitLandEngine(); | ||||
} | } | ||||
protected function newWorkEngine() { | |||||
return new ArcanistGitWorkEngine(); | |||||
} | |||||
public function newLocalState() { | public function newLocalState() { | ||||
return id(new ArcanistGitLocalState()) | return id(new ArcanistGitLocalState()) | ||||
->setRepositoryAPI($this); | ->setRepositoryAPI($this); | ||||
} | } | ||||
public function readRawCommit($hash) { | public function readRawCommit($hash) { | ||||
list($stdout) = $this->execxLocal( | list($stdout) = $this->execxLocal( | ||||
'cat-file commit -- %s', | 'cat-file commit -- %s', | ||||
Show All 27 Lines |