It might be good to have some advice here about what edits are appropriate for another author's work. That is, simple style fixes are no problem but logic changes or rewrites would be better done as two commits (the original author's and yours) or kicking it back to the original author for rework.