Verified Commit 7e981d01 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

gitpkg: Try to pass diff through colordiff

parent da1ad3f6
......@@ -446,7 +446,9 @@ diff = IO.popen(['diff', '-u', '-', pbw.filename], "r+") do |f|
end
unless diff.empty?
header "Diff"
puts diff, ""
IO.popen(["colordiff"], "w") do |f|
f.write diff
end rescue puts diff
end
meson_options = repo.read_file(commit, "meson_options.txt")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment