Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [git] Git Commit message guidelines

We have an ongoing discussion around changing the guidelines for the
Mylyn project and potentially updating the default commit message
template that's included in Mylyn.

I have added the links from this thread but if anyone has further
input please feel free to chime in on the bug:

 370038: Remove task state from commit message template for Mylyn projects
 https://bugs.eclipse.org/bugs/show_bug.cgi?id=370038

Steffen


On Mon, Feb 27, 2012 at 5:40 PM, Chris Aniszczyk <caniszczyk@xxxxxxxxx> wrote:
> On Mon, Feb 27, 2012 at 5:08 AM, Paul Webster
> <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
>> I don't believe so (although Platform UI has always tended to copy the
>> entire Bug # - title into the commit message).
>>
>> Also FWIW, the EGit guidelines:
>> http://wiki.eclipse.org/EGit/Contributor_Guide#Commit_message_guidelines
>>
>> I like the idea of adding bug and CQ numbers in the commit message footers,
>> it seems to be a common practice to have information there in git commit
>> messages.
>>
>> Bug: NNNNN
>> CQ: NNNN
>
> I personally find the EGit committer guidelines reasonable because if
> you use Gerrit, the Bug and CQ text gets auto-linked. There's also the
> possibility of using git-notes to adorn commit messages with this type
> of information but no one has been pushing hard for this yet.
>
> --
> Cheers,
>
> Chris Aniszczyk
> http://aniszczyk.org
> +1 512 961 6719
> _______________________________________________
> git mailing list
> git@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/git



-- 
Steffen Pingel
Senior Software Developer, Eclipse Mylyn
Mylyn Tasks Lead
http://tasktop.com


Back to the top