• Piotr Stankowski's avatar
    Suggestions: use template from target project instead of source project · 1c64a7a6
    Piotr Stankowski authored
    Suggestions defined in MR would show values from target project when
    previewing the commit message. However, once the commit was actually
    created, it used values from source project instead. This means that
    forks would ignore target project settings. The difference in preview
    and result would also confuse users.
    This MR changes it, so that suggestions always use target project when
    generating the message, both for template definition and project name
    and path variables.
    
    Changelog: fixed
    1c64a7a6
commit_message_spec.rb 5.4 KB