git log -S'foo()' # search changesets which changes 'foo()'
git diff master..test # diff between tips of the two branches
git diff master...test # diff from common ancestor to test
git format-patch master..test # 加不加 '..' 是一样的
git show v2.5:fs/locks.c