# [Query] Update email-id in kernel source

3 messages from 2012-06-13 to 2012-06-14. Participants: viresh kumar, Chris Packham.
Thread: https://gitlist.dev/t/30792

## viresh kumar, 2012-06-13 09:24

Subject: [Query] Update email-id in kernel source
Message-ID: <CAOh2x=k==ZjqQk4bvvviz4Uy7Xg2yn0A+9vbYJ63VJa4qMCodA@mail.gmail.com>
URL: https://gitlist.dev/e/CAOh2x%3Dk%3D%3DZjqQk4bvvviz4Uy7Xg2yn0A%2B9vbYJ63VJa4qMCodA%40mail.gmail.com

```
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, 2012-06-13 09:43

Subject: Re: [Query] Update email-id in kernel source
Message-ID: <4FD860A9.4000804@gmail.com>
URL: https://gitlist.dev/e/4FD860A9.4000804%40gmail.com
In-Reply-To: <CAOh2x=k==ZjqQk4bvvviz4Uy7Xg2yn0A+9vbYJ63VJa4qMCodA@mail.gmail.com>

```
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

```

## Chris Packham, 2012-06-14 09:44

Subject: Re: [Query] Update email-id in kernel source
Message-ID: <4FD9B282.7090106@gmail.com>
URL: https://gitlist.dev/e/4FD9B282.7090106%40gmail.com
In-Reply-To: <4FD860A9.4000804@gmail.com>

```
On 06/13/2012 09:43 PM, Chris Packham wrote:
> 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)

```
