Based on the recent work to wrap diff in objective-git, this includes a fix for a missing const and a number of clarifications of the documentation.