Merge branch 'nd/dir-exclude-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Wed, 20 Jan 2016 19:43:24 +0000 (11:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Jan 2016 19:43:24 +0000 (11:43 -0800)
commit7a450b48e765e957762b015f30c89f21b1028771
treee3159b57e83b614d4790f6546c956cb735808f1d
parent4fd1359158ac633cb3cba74ce5b380eddda38bfd
parent2653a8c6fa0466828061a3132421cf13a5d6d924
Merge branch 'nd/dir-exclude-cleanup'

The "exclude_list" structure has the usual "alloc, nr" pair of
fields to be used by ALLOC_GROW(), but clear_exclude_list() forgot
to reset 'alloc' to 0 when it cleared 'nr'to discard the managed
array.

* nd/dir-exclude-cleanup:
  dir.c: clean the entire struct in clear_exclude_list()
dir.c