Re: [PATCH v6 07/16] merge-recursive: avoid returning a wholesale struct

2016-08-04 Thread Junio C Hamano
Johannes Schindelin writes: > It is technically allowed, as per C89, for functions' return type to > be complete structs (i.e. *not* just pointers to structs). > > However, it was just an oversight of this developer when converting > Python code to C code in 6d297f8

[PATCH v6 07/16] merge-recursive: avoid returning a wholesale struct

2016-08-01 Thread Johannes Schindelin
It is technically allowed, as per C89, for functions' return type to be complete structs (i.e. *not* just pointers to structs). However, it was just an oversight of this developer when converting Python code to C code in 6d297f8 (Status update on merge-recursive in C, 2006-07-08) which introduced