Page MenuHomePhorge

D25123.1734736412.diff
No OneTemporary

D25123.1734736412.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
Fri, Dec 20, 23:13 (8 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021307
Default Alt Text
D25123.1734736412.diff (534 B)

Event Timeline