Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147521513
D37969.1783661593.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37969.1783661593.diff
View Options
diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile
--- a/devel/arcanist-lib/Makefile
+++ b/devel/arcanist-lib/Makefile
@@ -1,6 +1,6 @@
PORTNAME?= arcanist
PORTVERSION?= 20220518
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= devel
PKGNAMESUFFIX= ${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX}
diff --git a/devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php b/devel/arcanist-lib/files/patch-src_repository_api_ArcanistGitAPI.php
new file mode 100644
--- /dev/null
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 10, 5:33 AM (2 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29052158
Default Alt Text
D37969.1783661593.diff (1 KB)
Attached To
Mode
D37969: devel/arcanist-lib: handle 'arc patch' runtime exception
Attached
Detach File
Event Timeline
Log In to Comment