diff options
author | Dmitrii Naumenko <dmitrii.naumenko@jetbrains.com> | 2023-11-22 19:11:17 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-01-28 16:13:32 +0100 |
commit | c646649257070cd1707b7e86887e50c5acafa86c (patch) | |
tree | c7211b1548a6e02bf36bb39bac542b20e2597793 /org.eclipse.jgit.http.apache | |
parent | 74471b8d755bdfe15a0585e49e1449788b4fc843 (diff) | |
download | jgit-c646649257070cd1707b7e86887e50c5acafa86c.tar.gz jgit-c646649257070cd1707b7e86887e50c5acafa86c.zip |
CherryPick: add ability to customise cherry-picked commit message
Originally I wanted to support a feature similar to `-x` options from
https://git-scm.com/docs/git-cherry-pick#_options.
The idea was to append original commit hash in this format:
```
my original commit message
(cherry picked from commit 75355897dc28e9975afed028c1a6d8c6b97b2a3c)
```
This can be useful information in some integrations.
I decided to make it in a more generic way
and pass custom `CherryPickCommitMessageProvider` implementation.
One of the two default implementations can append original commit hash
Change-Id: Id664e8438b0b76c5cb9b58113887eec04aa6f611
Diffstat (limited to 'org.eclipse.jgit.http.apache')
0 files changed, 0 insertions, 0 deletions