Page MenuHomeFreeBSD

D37969.id114803.diff
No OneTemporary

D37969.id114803.diff

Index: devel/arcanist-lib/Makefile
===================================================================
--- devel/arcanist-lib/Makefile
+++ devel/arcanist-lib/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= arcanist
PORTVERSION?= 20220518
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= devel
PKGNAMESUFFIX= ${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX}
Index: devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php
===================================================================
--- /dev/null
+++ devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php
@@ -0,0 +1,11 @@
+--- src/repository/api/ArcanistGitAPI.php.orig 2023-01-06 17:27:38 UTC
++++ src/repository/api/ArcanistGitAPI.php
+@@ -1143,7 +1143,7 @@ final class ArcanistGitAPI extends ArcanistRepositoryA
+
+ public function hasLocalCommit($commit) {
+ try {
+- if (!$this->getCanonicalRevisionName($commit)) {
++ if (!$this->getCanonicalRevisionName($commit ?? '')) {
+ return false;
+ }
+ } catch (CommandException $exception) {

File Metadata

Mime Type
text/plain
Expires
Sun, Sep 6, 3:25 PM (20 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38409236
Default Alt Text
D37969.id114803.diff (1 KB)

Event Timeline