You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/11/23 12:33:11 UTC
[whimsy] branch master updated: Simplify
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 92d022f Simplify
92d022f is described below
commit 92d022fcdfc9111260683826456d741c185b4a84
Author: Sebb <se...@apache.org>
AuthorDate: Mon Nov 23 12:32:53 2020 +0000
Simplify
---
lib/whimsy/asf/git.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/git.rb b/lib/whimsy/asf/git.rb
index 00e4e15..517e721 100644
--- a/lib/whimsy/asf/git.rb
+++ b/lib/whimsy/asf/git.rb
@@ -62,7 +62,7 @@ module ASF
@repos = Hash[Dir[*git].map { |name|
if Dir.exist? name
out, _, status =
- Open3.capture3(*%(git config --get remote.origin.url), {chdir: name})
+ Open3.capture3('git', 'config', '--get', 'remote.origin.url', {chdir: name})
if status.success?
[File.basename(out.chomp, '.git'), name]
end