Verified Commit 27dba431 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

gitpkg: Only display NEWS if present

parent f26a8659
......@@ -276,7 +276,7 @@ class Repo
end
log '--stat=80', commit
system 'git', 'show', "#{commit}:NEWS"
system('git', 'show', "#{commit}:NEWS") if read_file(commit, "NEWS")
commit
end
......
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