Stefan Beller <sbeller@xxxxxxxxxx> writes: > So would we rather want to keep the ecbdata around for each file pair and > just reference that? I thought we deliberately want to avoid ecbdata, so maybe > we rather want to have another struct that keeps path related information > around (pointer to the blob and white space information). I would expect that there would be two structs, one per path "struct buffered_patch" that has the per-path thing, and another per line "struct buffered_patch_line" that describes what each line is, and has a pointer to the former.