1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 16:52:40 +01:00

(stable) Promote 2018 Week 29

This commit is contained in:
epriestley 2018-07-20 16:27:17 -07:00
commit 830661f628

View file

@ -1032,6 +1032,11 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
// and treat it as though it as a file containing a list of other files, // and treat it as though it as a file containing a list of other files,
// which is silly. // which is silly.
if (!strlen($path)) {
// No filename, so there's no content (Probably new/deleted file).
return null;
}
list($stdout) = $this->execxLocal( list($stdout) = $this->execxLocal(
'ls-tree %s -- %s', 'ls-tree %s -- %s',
$revision, $revision,