commit.hbs 670 B

123456789101112131415161718192021222324252627282930
  1. *{{#if scope}} **{{scope}}:**
  2. {{~/if}} {{#if subject}}
  3. {{~subject}}
  4. {{~else}}
  5. {{~header}}
  6. {{~/if}}
  7. {{~!-- commit link --}}{{~#if hash}} {{#if @root.linkReferences~}}
  8. ([{{shortHash}}]({{commitUrlFormat}}))
  9. {{~else}}
  10. {{~shortHash}}
  11. {{~/if}}{{~/if}}
  12. {{~!-- commit references --}}
  13. {{~#if references~}}
  14. , closes
  15. {{~#each references}} {{#if @root.linkReferences~}}
  16. [
  17. {{~#if this.owner}}
  18. {{~this.owner}}/
  19. {{~/if}}
  20. {{~this.repository}}{{this.prefix}}{{this.issue}}]({{issueUrlFormat}})
  21. {{~else}}
  22. {{~#if this.owner}}
  23. {{~this.owner}}/
  24. {{~/if}}
  25. {{~this.repository}}{{this.prefix}}{{this.issue}}
  26. {{~/if}}{{/each}}
  27. {{~/if}}