#837 fill initial comment of the create PR form if only one commit
Merged by pingou. Opened by ryanlerch.
ryanlerch/pagure issue832  into  master

Download 837.patch
no initial comment

When creating a Pull request with only 1 commit in it, the Pull
Request title is automatically filled out with the title of the
only commit.

With this PR (in the case of having one commit message) the body text
of the commit is now automatically filled out in the new pull
request description field (inital comment field) too.

Resolves: Issue #832

This will break if there are less than two \n in the commit message

Actually, it won't, nice for partition I didn't know it, cool :)

Pull-Request has been rebased

Pull-Request has been merged by pingou

Metadata