Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: [PATCH 14/21] Convert ce_path_match() to use struct pathspec

flat view

From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-06-15 22:50:16

On Fri, Dec 17, 2010 at 10:09 PM, Junio C Hamano [off-list ref] wrote:
Nguyen Thai Ngoc Duy [off-list ref] writes:
quoted
quoted
I wonder if it makes more sense to change the type of revs->prune_data
from an array of pointers to strings to a pointer to struct pathspec.
Is there a downside?
Converting a pointer to another pointer means mis typecasting can
happen and the compiler won't help catching them.
You can rename the field at the same time, and the compiler will catch
anything you forgot to touch, no?
Yes. I didn't think of that :(
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help