[dpdk-dev] [PATCH v2 5/5] test: change lpm routes file from header to data file
Richardson, Bruce
bruce.richardson at intel.com
Sat Jul 16 11:46:25 CEST 2016
> On 16 Jul 2016, at 00:05, Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:
>
> 2016-07-14 17:06, Bruce Richardson:
>> Change the file extension of the test_lpm_routes file from .h to .dat.
>> This makes the lines-of-code counts for DPDK more realistic as they are not
>> affected by the huge counts from the lpm data.
>>
>> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>> ---
>> app/test/Makefile | 2 +-
>> app/test/{test_lpm_routes.h => test_lpm_routes.dat} | 0
>
> The size of the git tree significantly increase after renaming this file:
> git -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0
> -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
> --aggressive && du -sk .git
> 28272 .git
> git am
> git -c gc.reflogExpire=0 -c gc.reflogExpireUnreachable=0
> -c gc.rerereresolved=0 -c gc.rerereunresolved=0 -c gc.pruneExpire=now gc
> --aggressive && du -sk .git
> 33188 .git
>
> I think it would be better to replace this huge file by a script generating
> the test resource.
>
Completely agree. This was a temporary fix anyway so if it causes git bloat lets just wait for the permanent fix.
Bruce
More information about the dev
mailing list