Page MenuHomePhorge

D25123.1739169969.diff
No OneTemporary

D25123.1739169969.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
Mon, Feb 10, 06:46 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1108702
Default Alt Text
D25123.1739169969.diff (534 B)

Event Timeline