ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@apache.org>
Subject Re: How to mention contributor's name during commit?
Date Wed, 29 Jul 2015 15:34:17 GMT
Yup, just use --author
And perhaps --signedoff (is it right?) to indicate who did the review if so desired


On July 29, 2015 4:49:00 AM PDT, Andrey Gura <agura@gridgain.com> wrote:
>why do you think that second approach allows to avoid typos in
>Git commit has special field for author information. From my point of
>this field is the best place for contributor name.
>Patch that was created with `git format-patch` command contains
>about author. If you'll apply this patch using `git am` command then
>commits in the patch will applied to the current branch and author
>information will correctly assigned to the `author` field.
>It is possible that patch was created with `git diff` command. In this
>you should use `git commit` command with `--author` parameter.
>On Wed, Jul 29, 2015 at 11:16 AM, Vladimir Ozerov
>> Igniters,
>> Let's discuss how to mention contributor name when pushing
>> patches. There are at least two ways of doing this:
>> 1) Impersonate commit on behalf of real author. In this case commit
>> appear in history as if it was performed by contributor:
>> git commit --author="John Doe <john@doe.com>"
>> 2) Commit with your (committer) name mentioning author in
>> git commit -m "Cool feature. Thanks to John Doe for contribution."
>> Please share your thoughts on which format is preferrable. I prefer
>> second one. It is successfully used in other big projects such as
>> and OpenJDK. With the first one GIT history will eventually be
>flooded with
>> misspelled contributor names ("John Doe", "Jonh Doe", "Jon Do", "John
>> Whatever")
>> Vladimir.

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message