Git 1.6.0 (just released) contains now detects Ruby class, module and method definitions in diff output. Previously it was just class names. (This patch.)
Other things I’m excited about in the new Git:
git-clone --mirroris a handy way to set up a bare mirror repository.git-diff --checknow checks for leftover merge conflict markers.git-stash savenow has a —keep-index option. This lets you stash away the local changes and bring the changes staged in the index to your working tree for examination and testing.git-stashalso has a newbranchsubcommand to create a new branch out of stashed changes.