refs: clean up common_list
authorDavid Turner <redacted>
Tue, 1 Sep 2015 02:13:09 +0000 (22:13 -0400)
committerJunio C Hamano <redacted>
Tue, 1 Sep 2015 17:37:12 +0000 (10:37 -0700)
commit0701530c2663f82ff4b678de27db4c61f8b3092f
tree43277bdb2ee8bda48b5ce9df31b601b6abe316ed
parent33f2c4ff7b9ac02cd9010d504e847b912b35baf6
refs: clean up common_list

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.

[jc: with "make common_list[] static" clean-up from Ramsay squashed in]

Signed-off-by: David Turner <redacted>
Signed-off-by: Junio C Hamano <redacted>
path.c
git clone https://git.99rst.org/PROJECT