Re: [PATCH v3 1/4] refs: clean up common_list

2015-08-15 Thread Duy Nguyen
On Thu, Aug 13, 2015 at 4:57 AM, David Turner wrote: > +struct common_dir common_list[] = { > + { "branches", 0, 1, 0 }, > + { "hooks", 0, 1, 0 }, > + { "info", 0, 1, 0 }, > + { "info/sparse-checkout", 0, 0, 1 }, > + { "logs", 1, 1, 0 }, > + { "logs/HEAD", 1, 1,

[PATCH v3 1/4] refs: clean up common_list

2015-08-12 Thread David Turner
Instead of common_list having formatting like ! and /, use a struct to hold common_list data in a structured form. We don't use 'exclude' yet; instead, we keep the old codepath that handles info/sparse-checkout and logs/HEAD. Later, we will use exclude. Signed-off-by: David Turner --- Junio wa