git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Query] Update email-id in kernel source
@ 2012-06-13  9:24 viresh kumar
  2012-06-13  9:43 ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: viresh kumar @ 2012-06-13  9:24 UTC (permalink / raw)
  To: gitster; +Cc: spear-devel, git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Query] Update email-id in kernel source
  2012-06-13  9:24 [Query] Update email-id in kernel source viresh kumar
@ 2012-06-13  9:43 ` Chris Packham
  2012-06-14  9:44   ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Packham @ 2012-06-13  9:43 UTC (permalink / raw)
  To: viresh kumar; +Cc: gitster, spear-devel, git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Query] Update email-id in kernel source
  2012-06-13  9:43 ` Chris Packham
@ 2012-06-14  9:44   ` Chris Packham
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Packham @ 2012-06-14  9:44 UTC (permalink / raw)
  To: viresh kumar; +Cc: gitster, git

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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-14  9:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13  9:24 [Query] Update email-id in kernel source viresh kumar
2012-06-13  9:43 ` Chris Packham
2012-06-14  9:44   ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).