Parse diff incrementally