summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-04-24 10:37:59 +0900
committerNobuyoshi Nakada <[email protected]>2025-06-17 12:20:30 +0900
commit21c7131df818c1f7f571d4ccf9be150d2c9cc374 ()
treec5829e10881dac2d4a2264b9df09a1e7f7fbd144
parent9255db4bc08766763a6d78f50a90e05c58980899 (diff)
Run git without shell
Notes: Merged: https://.com/ruby/ruby/pull/13634
-rw-r--r--tool/auto-style.rb2
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ class Git
def git(*args)
cmd = ['git', *args].shelljoin
puts "+ #{cmd}"
- unless with_clean_env { system(cmd) }
abort "Failed to run: #{cmd}"
end
end