Don’t dump patch in verbose mode
This commit is contained in:
parent
19bea3495c
commit
d594c5239e
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class FormatStaged
|
|||
end
|
||||
|
||||
def patch_working_file(file, new_hash)
|
||||
patch = get_output 'git', 'diff', file.dst_hash, new_hash, lines: false
|
||||
patch = get_output 'git', 'diff', file.dst_hash, new_hash, lines: false, silent: true
|
||||
patch.gsub! "a/#{file.dst_hash}", "a/#{file.src_path}"
|
||||
patch.gsub! "b/#{new_hash}", "b/#{file.src_path}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue