Ignore git generated merge messages when guessing pull request title (BB-8422)

Issue #7238 closed
Cameron Morrison
created an issue

It would be great if, when automatically populating a name for a pull request, git generated messages for pulls are ignored, and the first meaningful message is used.

See attached file for example of what I mean.

Comments (4)

  1. Brodie Rao

    Hi Cameron,

    That's a great suggestion!

    At the moment we only populate the pull request title from the commit message if there's only a single commit. We'd need to look at the other commits as well and figure out which ones are noise. Getting that right might be a little tricky.

    I've put an issue for this in our internal backlog. We'll update this issue when there's development around this.

  2. Lee Elenbaas

    The merge comments also needs to be ignored for smart commands they may contain - or Jira DVCS connector commands - since those commands if they exists where already acted upon in the original commit

  3. Log in to comment