RFR: 422: Add CLI tool expand issues in commit message

Erik Helin ehelin at openjdk.java.net
Tue Jun 16 13:56:44 UTC 2020


Hi all,

please review this patch that adds a tiny new CLI tool called `git expand`. The tool currently only supports one flag,
`--issues`, which can be used to expand JBS issue ids in commit message. For example if a commit `HEAD` has the message
`skara-420` and a user runs

$ git expand --issues HEAD

then the commit message will be `420: Expand JBS issues in PR titles`. This is useful for contributors _not_ using `git
pr create` (which already does this and more).

Testing:
- [x] Manual testing of `git expand` on Linux x64

Thanks,
Erik

-------------

Commit messages:
 - 422: Add CLI tool expand issues in commit message

Changes: https://git.openjdk.java.net/skara/pull/666/files
 Webrev: https://webrevs.openjdk.java.net/skara/666/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/SKARA-422
  Stats: 184 lines in 5 files changed: 183 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/skara/pull/666.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/666/head:pull/666

PR: https://git.openjdk.java.net/skara/pull/666


More information about the skara-dev mailing list