Page MenuHomePhorge

D25123.1739481285.diff
No OneTemporary

D25123.1739481285.diff

diff --git a/src/repository/api/ArcanistGitAPI.php b/src/repository/api/ArcanistGitAPI.php
--- a/src/repository/api/ArcanistGitAPI.php
+++ b/src/repository/api/ArcanistGitAPI.php
@@ -600,7 +600,7 @@
public function getCanonicalRevisionName($string) {
$match = null;
- if (preg_match('/@([0-9]+)$/', $string, $match)) {
+ if ($string !== null && preg_match('/@([0-9]+)$/', $string, $match)) {
$stdout = $this->getHashFromFromSVNRevisionNumber($match[1]);
} else {
list($stdout) = $this->execxLocal(

File Metadata

Mime Type
text/plain
Expires
Thu, Feb 13, 21:14 (1 w, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108702
Default Alt Text
D25123.1739481285.diff (534 B)

Event Timeline