git-apply: find offset fragments, and really apply them