Remove unused variable.
Extract diff options parsing into a seperate function.
Add `Rugged::Tree#workdir_diff`.