build system: add git sub-command to action side of non-verbose output

This commit is contained in:
Moritz Bunkus 2016-03-28 17:39:16 +02:00
parent 9bbe8da474
commit 9a2beaca81

View File

@ -85,7 +85,7 @@ def runq(action, target, cmdline, options = {})
end
def runq_git(msg, cmdline, options = {})
puts_qaction "git", cmdline.split(/\s+/)[0].upcase + " #{msg}"
puts_qaction "git #{cmdline.split(/\s+/)[0]}", "#{msg}"
$git_mutex.synchronize { run "git #{cmdline}", options.clone.merge(:dont_echo => !$verbose) }
end