mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-22 21:40:54 +01:00
Make "arc which --show-base" work as expected
Summary: This is supposed to just print out the base revision, but actually prints out the repository section first. Test Plan: Ran `arc which`, `arc which --show-base`. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D11888
This commit is contained in:
parent
dd59423d56
commit
d8182cf55d
1 changed files with 4 additions and 2 deletions
|
@ -75,8 +75,10 @@ EOTEXT
|
|||
public function run() {
|
||||
$console = PhutilConsole::getConsole();
|
||||
|
||||
$this->printRepositorySection();
|
||||
$console->writeOut("\n");
|
||||
if (!$this->getArgument('show-base')) {
|
||||
$this->printRepositorySection();
|
||||
$console->writeOut("\n");
|
||||
}
|
||||
|
||||
$repository_api = $this->getRepositoryAPI();
|
||||
|
||||
|
|
Loading…
Reference in a new issue