Re: [PATCH v3 09/11] rerere: return strbuf from handle path

2018-07-30 Thread Junio C Hamano
Thomas Gummerer writes: > Currently we write the conflict to disk directly in the handle_path > function. To make it re-usable for nested conflicts, instead of > writing the conflict out directly, store it in a strbuf and let the > caller write it out. > > This does mean some slight increase in

[PATCH v3 09/11] rerere: return strbuf from handle path

2018-07-14 Thread Thomas Gummerer
Currently we write the conflict to disk directly in the handle_path function. To make it re-usable for nested conflicts, instead of writing the conflict out directly, store it in a strbuf and let the caller write it out. This does mean some slight increase in memory usage, however that increase i