Skip to content

Commit

Permalink
Make commit title in bold
Browse files Browse the repository at this point in the history
  • Loading branch information
guerinoni committed Jan 11, 2024
1 parent 618446f commit 7cd0a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/pr/create/create.go
Expand Up @@ -472,7 +472,7 @@ func initDefaultTitleBody(ctx CreateContext, state *shared.IssueMetadataState, u
state.Title = humanize(headRef)
var body strings.Builder
for i := len(commits) - 1; i >= 0; i-- {
fmt.Fprintf(&body, "- %s\n", commits[i].Title)
fmt.Fprintf(&body, "- **%s**\n", commits[i].Title)
if addBody {
chunks := chunkString(commits[i].Body, 72)
for idx, chunk := range chunks {
Expand Down

0 comments on commit 7cd0a40

Please sign in to comment.