From: epriestley Date: Tue, 1 May 2012 00:28:04 +0000 (-0700) Subject: Remove "--no-decorate" X-Git-Tag: conduit-4~32 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c0c3c8a1135604fc0ebe568629f236db29124d12;p=arcanist.git Remove "--no-decorate" Summary: Apparently my advice here was terrible, and `--no-decorate` and `--decorate=no` are both very recent additions to Git which a bunch of users don't have. Get rid of them since D2344 allows us to parse all decorate levels anyway. Test Plan: Tried to google "git changelog", got a bunch of pages about managing changelogs with git. Reviewers: zeeg, ehren Reviewed By: ehren CC: ehren, aran, NorthIsUp Differential Revision: https://secure.phabricator.com/D2354 --- diff --git a/src/repository/api/git/ArcanistGitAPI.php b/src/repository/api/git/ArcanistGitAPI.php index 21389dbc..b47c0b0a 100644 --- a/src/repository/api/git/ArcanistGitAPI.php +++ b/src/repository/api/git/ArcanistGitAPI.php @@ -292,11 +292,11 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI { } else if ($relative == self::GIT_MAGIC_ROOT_COMMIT) { // First commit. list($stdout) = $this->execxLocal( - 'log --no-decorate --format=medium HEAD'); + 'log --format=medium HEAD'); } else { // 2..N commits. list($stdout) = $this->execxLocal( - 'log --no-decorate --first-parent --format=medium %s..HEAD', + 'log --first-parent --format=medium %s..HEAD', $this->getRelativeCommit()); } return $stdout;