Re: [PATCH 01/20] cache: convert struct cache_entry to use struct object_id

2016-08-29 Thread brian m. carlson
On Mon, Aug 29, 2016 at 05:43:41PM +0200, Johannes Schindelin wrote: > Hi Kuba, > > On Mon, 29 Aug 2016, Jakub Narębski wrote: > > > I wonder if writing this patch series (or rather the following one) > > would be helped by using one of semantic patch tools, such as > > Coccinelle[1], spdiff[2],

Re: [PATCH 01/20] cache: convert struct cache_entry to use struct object_id

2016-08-29 Thread Johannes Schindelin
Hi Kuba, On Mon, 29 Aug 2016, Jakub Narębski wrote: > W dniu 29.08.2016 o 01:27, brian m. carlson pisze: > > > Convert struct cache_entry to use struct object_id by applying the > > following semantic patch and the object_id transforms from contrib: > > > > @@ > > struct cache_entry E1; > > @@

Re: [PATCH 01/20] cache: convert struct cache_entry to use struct object_id

2016-08-29 Thread Jakub Narębski
W dniu 29.08.2016 o 01:27, brian m. carlson pisze: > Convert struct cache_entry to use struct object_id by applying the > following semantic patch and the object_id transforms from contrib: > > @@ > struct cache_entry E1; > @@ > - E1.sha1 > + E1.oid.hash > > @@ > struct cache_entry *E1; > @@ >

Re: [PATCH 01/20] cache: convert struct cache_entry to use struct object_id

2016-08-29 Thread Johannes Schindelin
Hi Brian, On Sun, 28 Aug 2016, brian m. carlson wrote: > Convert struct cache_entry to use struct object_id by applying the > following semantic patch and the object_id transforms from contrib: > > @@ > struct cache_entry E1; > @@ > - E1.sha1 > + E1.oid.hash > > @@ > struct cache_entry *E1; >

[PATCH 01/20] cache: convert struct cache_entry to use struct object_id

2016-08-28 Thread brian m. carlson
Convert struct cache_entry to use struct object_id by applying the following semantic patch and the object_id transforms from contrib: @@ struct cache_entry E1; @@ - E1.sha1 + E1.oid.hash @@ struct cache_entry *E1; @@ - E1->sha1 + E1->oid.hash Signed-off-by: brian m. carlson