1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-11 07:11:03 +01:00

Arcanist - potentially fix some Windows badness

Summary: Fixes T5914, maybs.

Test Plan: will ask users in T5914

Reviewers: chad, epriestley

Reviewed By: chad, epriestley

Subscribers: chad, bluehawk, epriestley, Korvin

Maniphest Tasks: T5914

Differential Revision: https://secure.phabricator.com/D10333
This commit is contained in:
Bob Trahan 2014-08-21 16:07:00 -07:00
parent ac62f28f19
commit ec948a276d

View file

@ -535,7 +535,9 @@ final class ArcanistGitAPI extends ArcanistRepositoryAPI {
$stdout = $this->getHashFromFromSVNRevisionNumber($match[1]); $stdout = $this->getHashFromFromSVNRevisionNumber($match[1]);
} else { } else {
list($stdout) = $this->execxLocal( list($stdout) = $this->execxLocal(
'show -s --format=%s %s --', phutil_is_windows()
? 'show -s --format=%C %s --'
: 'show -s --format=%s %s --',
'%H', '%H',
$string); $string);
} }