Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] commit messages
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2013-09-28 09:49:57


Done at https://git.open-mpi.org/trac/hwloc/wiki/CommitMessages
I also updated some references to SVN in other wiki pages.
Brice

Le 28/09/2013 14:19, Jeff Squyres (jsquyres) a écrit :
> This sounds good. Can you add this to the trac wiki?
>
> (e.g., MPICH did something like this when they converted to git)
>
>
> On Sep 28, 2013, at 8:15 AM, Brice Goglin <Brice.Goglin_at_[hidden]> wrote:
>
>> Let's discuss some rules for commit messages. I used svn propedit often
>> in the past, that's not possible anymore once pushed to the main git repo.
>>
>> 1) Obviously we should follow the commit log convention:
>>
>> one short line description (less than 80 chars)
>> <blank line>
>> full description
>>
>>
>> 2) When backporting patches between public branches, use git cherry-pick
>> *-x* so that the old commit ID is recorded is the new commit log. If
>> you're working in your private branches, this may not be needed (if the
>> old commit ID may change before you actually push it).
>>
>> 3) Configure your username and email properly before commtting.
>>
>> git config user.email <foo_at_bar>
>> git config user.name "First Last"
>>
>> This goes into .git/config. Add --global to make these global for all
>> your git repos (goes into ~/.gitconfig)
>>
>> What else?
>>
>> Brice
>>
>> _______________________________________________
>> hwloc-devel mailing list
>> hwloc-devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>