Page MenuHomePhorge

D25123.1744327890.diff
No OneTemporary

D25123.1744327890.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, Apr 10, 23:31 (5 d, 12 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108702
Default Alt Text
D25123.1744327890.diff (534 B)

Event Timeline