Skip to content

Commit

Permalink
Fix commitmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jul 14, 2019
1 parent 2b9e6f3 commit 9c57c23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ vcslinktocommit(args...; kwargs...) =

function commitmessage(fullrev, uppkgid::PkgId, from, title, comment)
link = vcslinktocommit(fullrev, path=from)
subject = strip(read(git_cmd(`show --format=format:%s --no-patch`, from), String))
subject = strip(
read(
git_cmd(`show --format=format:%s --no-patch $fullrev`, from),
String,
),
)
title = rstrip(something(title, "Update: $(uppkgid.name)"))
comment = rstrip(something(comment, ""))
footer = """
Expand Down

0 comments on commit 9c57c23

Please sign in to comment.