From 576721946c72bdeb3bbc480f8330fb8b06f42f24 Mon Sep 17 00:00:00 2001 From: Steve Buzonas Date: Fri, 3 Jun 2016 19:05:04 -0400 Subject: [PATCH] show pretty version in both scenarios --- src/Composer/Command/StatusCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index aab1a952d..f31c49889 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -112,11 +112,11 @@ EOT if ($previousRef && $currentVersion['commit'] !== $previousRef) { $vcsVersionChanges[$targetDir] = array( 'previous' => array( - 'version' => $package->getVersion(), + 'version' => $package->getPrettyVersion(), 'ref' => $previousRef ), 'current' => array( - 'version' => $parser->normalize($currentVersion['version']), + 'version' => $currentVersion['version'], 'ref' => $currentVersion['commit'], ), );