Fixing git author data in retrospect

Usually if one gets started with git not everything is set up correctly and thus the repository data may be malformed, i.e. the author name or email isn’t correct. Changing this data in retrospect is possbile as the following short bash script shows:

#!/bin/sh

git filter-branch --env-filter '

an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
if [ "$GIT_COMMITTER_NAME" = "pascal_old" ]
then
   cn="pasal_new"
   cm="pascal@foobar.de"
fi
if [ "$GIT_AUTHOR_NAME" = "pascal_old" ]
then
   am="pascal@foobar.de"
   an="pascal_new"
fi

export GIT_AUTHOR_EMAIL=$am
export GIT_COMMITTER_EMAIL=$cm
export GIT_AUTHOR_NAME=$an
export GIT_COMMITTER_NAME=$cn

'

kworker and watchdog taking CPU power

After installing the daily update on my Lenovo T61 and rebooting the system, I had some strange issues with the kernel processes kworker and watchdog. Either kworker or watchdog took about 60% of the CPU power. Unfortunately switching back to an older kernel version did not fix it. Thus after searching the web, I found out that this problem is related to the network connection (see [1] for details). Since I am using wifi to connect, I disabled my ethernet interface by

ifconfig eth0 down

, which solved the problem.

I know this is not a general solution to this problem, but it may help wifi-only users as I am.

[1] : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/717919