mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Run git without shell
This commit is contained in:
parent
9255db4bc0
commit
21c7131df8
Notes:
git
2025-06-17 04:18:05 +00:00
@ -69,7 +69,7 @@ class Git
|
||||
def git(*args)
|
||||
cmd = ['git', *args].shelljoin
|
||||
puts "+ #{cmd}"
|
||||
unless with_clean_env { system(cmd) }
|
||||
unless with_clean_env { system('git', *args) }
|
||||
abort "Failed to run: #{cmd}"
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user