Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
7e981d01
Verified
Commit
7e981d01
authored
Apr 21, 2017
by
Jan Alexander Steffens (heftig)
Browse files
gitpkg: Try to pass diff through colordiff
parent
da1ad3f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/archbuild/files/gitpkg
View file @
7e981d01
...
...
@@ -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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment