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:
commit
830661f628
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue