git bisect makes this a lot easier. If you don't know how to use it yet, search for "git bisect howto".