Re: Conventions on struct copying?

2014-06-19 Thread Junio C Hamano
brian m. carlson sand...@crustytoothpaste.net writes: I don't know of any place we explicitly copy structs like this,... which should be a reason enough. The first concrete guideline is just imitate the existing code. but I don't know of any prohibition against it, either. So now you know

RE: Conventions on struct copying?

2014-06-19 Thread Jason Pyeron
-Original Message- From: Junio C Hamano Sent: Thursday, June 19, 2014 13:11 brian m. carlson sand...@crustytoothpaste.net writes: I don't know of any place we explicitly copy structs like this,... which should be a reason enough. The first concrete guideline is just

Re: Conventions on struct copying?

2014-06-19 Thread brian m. carlson
On Thu, Jun 19, 2014 at 01:22:44PM -0400, Jason Pyeron wrote: -Original Message- From: Junio C Hamano Sent: Thursday, June 19, 2014 13:11 brian m. carlson sand...@crustytoothpaste.net writes: I don't know of any place we explicitly copy structs like this,... which