threads / discuss / 30792

[Query] Update email-id in kernel source

Subject: [Query] Update email-id in kernel source

## tl;dr

3 messages between Jun 13, 2012 and Jun 14, 2012.

replies: 2people: 2as markdown or json

viresh kumar· Jun 13, 2012, 09:24 UTC · lore
Hi guys,

I have recently changed my company and am required to update my email address in kernel source.

I can only see one way of doing that:
- Do a git grep, update all files, commit and post the patch.

Is there any better way of doing this that git provides, by which even 'git log' would show the latest id available? I heard from a friend but don't know if it exists.

-- Viresh

Chris Packham· Jun 13, 2012, 09:43 UTC · re: viresh kumar · lore

Re: [Query] Update email-id in kernel source

On 06/13/2012 09:24 PM, viresh kumar wrote:
Show 18 quoted lines
> Hi guys,
> 
> I have recently changed my company and am required to update my email address in
> kernel source.
> 
> I can only see one way of doing that:
> - Do a git grep, update all files, commit and post the patch.
> 
> Is there any better way of doing this that git provides, by which even
> 'git log' would show
> the latest id available? I heard from a friend but don't know if it exists.
> 
> --
> Viresh
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Not sure if the kernel maintains one but projects can use a .mailmap[1] file to do just this kind of thing. You'd still have to update code if you want people to get hold of you from MODULE_AUTHOR statements.

-- [1] - http://www.git-scm.com/docs/git-shortlog

Chris Packham· Jun 14, 2012, 09:44 UTC · re: Chris Packham · lore

Re: [Query] Update email-id in kernel source

On 06/13/2012 09:43 PM, Chris Packham wrote:
Show 26 quoted lines
> On 06/13/2012 09:24 PM, viresh kumar wrote:
>> Hi guys,
>>
>> I have recently changed my company and am required to update my email address in
>> kernel source.
>>
>> I can only see one way of doing that:
>> - Do a git grep, update all files, commit and post the patch.
>>
>> Is there any better way of doing this that git provides, by which even
>> 'git log' would show
>> the latest id available? I heard from a friend but don't know if it exists.
>>
>> --
>> Viresh
>> --
>> To unsubscribe from this list: send the line "unsubscribe git" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> Not sure if the kernel maintains one but projects can use a .mailmap[1]
> file to do just this kind of thing. You'd still have to update code if
> you want people to get hold of you from MODULE_AUTHOR statements.
> 
> --
> [1] - http://www.git-scm.com/docs/git-shortlog

git log does support the .mailmap feature with the %aE format option but it looks like it doesn't do it by default. I'm guessing performance is probably the reason. Anyone else care to comment?

(Re-send. Sorry for the spam, I can't convince my phone not to send HTML)

← back to recent threads