Package: unicorn / 6.1.0+git.20250131.1370f52-1

remove_git_ls_files.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Abhijith PA <abhijith@disroot.org>
Date: Thu, 9 Feb 2023 21:37:53 +0530
Subject: Remove git ls-files command from gemspec

Forwarded: not-needed
---
 unicorn.gemspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unicorn.gemspec b/unicorn.gemspec
index 36700a8..304b37b 100644
--- a/unicorn.gemspec
+++ b/unicorn.gemspec
@@ -1,7 +1,7 @@
 # -*- encoding: binary -*-
 # frozen_string_literal: false
 manifest = File.exist?('.manifest') ?
-  IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
+  IO.readlines('.manifest').map!(&:chomp!) : Dir.glob('**/*')
 
 # don't bother with tests that fork, not worth our time to get working
 # with `gem check -t` ... (of course we care for them when testing with